TomIO
Connect refused when i want to install package
termux.net
is the Playstore repositories.
Termux on the Play Store is a fork of an old version with additional, unmerged changes, and is not controlled by the dev team at https://github.com/termux. Despite its existence and version number, it is not the newest or latest version, and is significantly less functional than either the current F-Droid release or Github builds. More detail: https://github.com/termux/termux-app/discussions/4000 Unless you know exactly what you're doing, you should not use the Play Store fork. Install the suggested release from F-Droid :fdroid:. Direct link: https://f-droid.org/en/packages/com.termux If you have currently have the Play Store fork installed and want to install an official build from F-Droid or Github, you must uninstall Termux and all companion apps first. That means uninstalling the main app, as well as Termux:API, :Styling, :Widget, :Task, :Float, and :Boot. Termux:X11 works differently and can be left installed. If you need help with backing up your files: https://wiki.termux.com/wiki/Backing_up_Termux
4 replies
bash configuration file location
Your user config file for Bash should be located at
~/.bashrc
.
If that does not exist you can simply create it with your text editor of choice.
Some other ways to express that file location would be $HOME/.bashrc
,
or in the case of Termux,
/data/data/com.termux/files/home/.bashrc
~
and $HOME
both resolve to the user's home directory.
There is also a system bashrc, located at:
- /etc/bash.bashrc
on a "regular" Linux system
- or $PREFIX/etc/bash.bashrc
on Termux
The absolute path to it on Termux is /data/data/com.termux/files/usr/etc/bash.bashrc
You shouldn't be using it for your personal configuration.
It's intended to set up some defaults for the distribution.
In Termux's case it just sets up shell history, a basic prompt, command-not-found
and completions if bash-completion
is installed.5 replies
local server that plays videos accessible offline
VLC or MPV should work just fine for that, this really isn't a Termux specific question.
Also you are likely better off just using the dedicated Android app for either VLC or MPV.
https://f-droid.org/en/packages/org.videolan.vlc/
https://f-droid.org/en/packages/is.xyz.mpv/
4 replies
How to make ffi bindings to termux api
There's two parts to this.
Termux:API is the java implementation of the activity manager endpoints for Termux.
termux-api
is the package containing the shell wrappers around those am
calls for the most common usecases.
There's a bit of C in there, but I'm not sure if it's gonna be of any use to you.
https://github.com/termux/termux-api-package15 replies
How to make ffi bindings to termux api
There is no official FFI bindings for Termux-API as far as I am aware.
You might be able to use an existing C FFI for
am
(the Android activity manager), though that loses out on the convenience factor of using Termux-API since it provides wrappes around common am
calls to the Termux API.15 replies
I'm stuck in this code page, what should I do?
- "I'm stuck in this code page"
are you talking about
nano
(the editor shown in your screenshot)?
Your options are spelled out at the bottom.
Ctrl+G
for help.
Ctrl+X
to exit
Ctrl+O
to write out (save) the file
Ctrl+R
to read (open a new) file3 replies
Lemmy server
We don't have it packaged currently.
https://github.com/LemmyNet/lemmy
If you'd like to request it I'd say this is a candidate for the TUR.
https://github.com/termux-user-repository/tur
8 replies
I know how to use Shell a little but I don't understand this console error
It looks like the connection to your package mirror timed out while you were trying to update your packages.
So it couldn't fetch a new package list, and fell back on using the old one.
If this issue persists you can use
termux-change-repo
to select a different package mirror.4 replies