Termux

T

Termux

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.

Join

Setting up hardware acceleration for a VNC server

Here is what I do : Open Termux virgl_test_server_android --angle-gl Open another Termux instance proot-distro login debian --user void --shared-tmp --isolated...

How to disable vibration?

Pressing extra keys will vibrate the phone (Termux-v0.118.1-debug github release). Is there any way to disable this vibration?

termux-saf-* always hangs

termux-api-stop termux-api-start logcat > log 2>&1 & termux-saf-managedir 07-02 07:15:20.442 7087 7087 E termux-api: Unrecognized 'api_method' extra: 'SAF' ```...

No such file or directory

i am attempting to open a minecraft server on my android phone (s23 fe).When i install ubuntu and try to run it it just says No such file or directory for many different things
Solution:
No description

`make menuconfig` cant find libncurses

Hello,today i trued using buildroot (clones from linux-3ds on github) to build a rootfs image fir linux on 3ds and due to me not having linux on my laptop, wsl bricked, a laptop too weak for a vm and no media to jnstall linux i decuded to use my phone with termux. Upon running make menuconfig i got following error: ``` Unable to find the ncurses libraries or the required header files. *** 'make menuconfig' requires the ncurses libraries....

Establishing connection to pulseaudio - audio mixer. How to start pulseaudio server?

In audio mixer of proot it says this, but it never finishes establishing connection, might be due to server setup but how to set it up correctly?
No description

Removing invalid files

I wanted to remove the folder named '!Warning'$'\240' but it doesn't remove because Android thinks it cannot be found but it is there in Termux. How do I fix this?
No description

pip install doesnt install

Hello, I have such a problem, I’m trying to install different libraries for Python, but it just displays some errors, I searched the Internet and still haven’t found a solution, will my phone with Android 10 really not be able to work with Python? Below I will send the file from the console, I will be grateful if you help me
Solution:
@Rudolf pkg install binutils

Error Code 301

I use the ld player and everytime i want to download Termux this happens.
Solution:
Most emulators don't properly emulate an Android device
No description

How to make the extra Keyboard Keys Togglable

Hi!, I'm trying to game on termux and while the key stroke of normal keyboard is too short to do any kind of movement, i noticed that the extra Ctrl key on termux and x11 is togglable and they can be edited, does anyone know how to add more keys like that to the extra keys row?
Solution:
Check preferences.

How to install lua

Can anyone help me install?
Solution:
pkg i lua54
No description

FIle editor error

i need help and i do not know what to do i have tried redownloading many times and tbh im kinda stupid when it comes to these things
Solution:
just ignore it, or if you don't want to, you can run ln -s $PREFIX/bin/nano $PREFIX/bin/termux-file-editor.
No description

How do I fix this mistake error

@𝞽𝟂𝞪𝞲𝞳 When i execute my own bin files, I get this happened mistake error. Here the my own bin files (Not sharing my own bin files to other user, It's results before execute): ```#!${PREFIX}/bin/bash Y="$(printf '\033[1;33m')"...
No description

Megacmd

i installed Megacmd on termux but showing
CANNOT LINK EXECUTABLE "mega-cmd-server": library "libicudata.so.75" not found: needed by /data/data/com.termux/files/usr/lib/libmega.so in namespace (default)
CANNOT LINK EXECUTABLE "mega-cmd-server": library "libicudata.so.75" not found: needed by /data/data/com.termux/files/usr/lib/libmega.so in namespace (default)
on android 14 (poco m6 pro 5g)
Solution:
yes | pkg upg and try again
No description

Using system gui file picker to select multiplefiles and return their usable paths to executecommand

is there a way i can open file picker ui select multiple file nd get back file paths as result on which i can execute comands. using select loop and cli based menus are sometimes not suitable need to quickly open gui android file picker. using activity manager is useless as devs has not implemented any way to get intent resultActivity. maybe termux-api lib can be used with storageGet method or anything. Plese help I have tried termux-saf-* method but they just struck/hang doesnt work or return...

updating termux

Hello , How do I update termux do I have to uninstall and install it again ? Because i have a notification from google play store telling me to update it but when i run the update it fails to update every time . Thanks in advance...
Solution:

Running moderngl (and glcontext) python library

Hello! I'm trying to get moderngl python library working on termux. First of all, I encountered this issue during installation pip install moderngl ``` In file included from glcontext/x11.cpp:5:...
Solution:
Ahh nvm, I'm an idiot. I had a typo env DISPLAY:=1 instead of env DISPLAY=:1 So the solution to installing and running moderngl (and glcontext) python library in termux is: Install necessary packages ```sh...

Error while installing npm package

I'm getting this error when trying to install a package called haxball.js. I'm using the latest version of node. What should I do?
No description

how to ouptut gui codes

How can I run graphical codes in my Termux? For example, if I am working with SDL, any time I execute a compiled SDL code, like ./main.c, for example, it will run, but I will not get an output because my terminal, because the terminal is like command line only. I don't know if there is any way I can get outputs from the program without x11 or vnc.

I think I broke pkg upgrade (solved)

pkg upgrade Checking availability of current mirror: [*] https://mirror.mwt.me/termux/main: ok Hit:2 https://mirror.mwt.me/termux/main stable InRelease Hit:3 https://mirror.mwt.me/termux/root root InRelease...
Solution:
I managed to remove the error but not the warning by telling dpkg to not care with dpkg --remove --force-remove-reinstreq box64-android...