442
questions
1
vote
0
answers
11
views
Nodemon Crashes with 'bad ELF magic' Error on Termux in Android
I'm using Termux on my Android phone to run a simple Node.js server with nodemon. My server script (index.js) is written in JavaScript and should work fine, but when I run it with nodemon, I get the ...
-1
votes
1
answer
27
views
How to build latest python version from github on termux
I want to install latest version of python on my termux (for some testing) but I couldn't make it. I looked python's readme but it doesn't work. I searched help from ai but it also doesn't work. I ...
0
votes
0
answers
29
views
How to use buildozer on arm?
Hello everyone i have en error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/.buildozer/android/platform/android-sdk/build-tools/35.0.0/aidl'
I tryed to use https://github.com/...
0
votes
1
answer
36
views
Automation Android apps with script
I would like to create a script that automates the operation of an application used to control a lawn mower. I would like the application to connect to my http server to receive information, and then, ...
0
votes
0
answers
30
views
Keyboard Input In Android Termux C++
I want to make simple games in the termux terminal in c++ and I need a way to get keyboard input into the game code like this :
void gameLoop() {
char c = <the last key pressed>
/*
...
0
votes
0
answers
31
views
Amulet Map Editor (WX python program) can't render world in 3D mode
I am running Amulet Map Editor on my phone with these specs:
neofetch output
using Proot Arch Linux container in Termux on ARM64 CPU. VNC for output graphics.
My problem is that the proot Linux ...
0
votes
0
answers
18
views
how to install heroku cli on termux in 2024
I am trying many thing but still getting errors thats why need help how to install cli in termux
I tried many things can't explain here all thats just need solution for install heroku cli on termux in ...
0
votes
0
answers
32
views
Termux - Issue with Linking `libc++_shared.so` on with Premake5
I'm trying to build a project using Premake5 on an Android environment, and I'm encountering a linker error related to libc++_shared.so. Below are the details of the problem and what I've tried so far....
1
vote
1
answer
88
views
How to install geopandas on termux
i cant seem to understand what am i doing wrong on termux
i tried everything
i ran
pip install geopandas
it doesent seem to work
to install 'geopandas' on termux
it always gets stuck i dont know why
...
0
votes
1
answer
79
views
Next/14 android/arm64 SWC failed to load
https://github.com/vercel/next.js/issues/67605
Disabling swcMinify in config resulted in this beautiful output:
~/test/my-app $ npm run dev
> [email protected] dev
> next dev
▲ Next.js 14.2.4
- ...
0
votes
0
answers
71
views
Termux: Permission Denied Creating Directory (gpg Key)"
I'm having trouble updating packages in Termux due to a permission error when trying to create a directory for the GPG key.
Attempting to search for packages with pkg search jed results in an error ...
0
votes
0
answers
128
views
How to fix Phantom process in termux while running nethunter
I was running nethunter in termux after some time it , termux got crashed. The error message was "phantom process disabled" I started it several times same thing happened is there any way I ...
0
votes
0
answers
303
views
How to install JDK 22 in Termux
Is it possible to install JDK 22 in Termux?
I already tried to install from source code, but it requires Boot-JDK.
Only JDK 17 is available through the package manager, but I need a version higher ...
0
votes
0
answers
82
views
Termux : Asyncio error "asyncio.get_running_loop()" and "FileNotFoundError"
Hi and thank you in advance for your help,
I am currently trying to connect a tablet with Termux to a BLE Arduino. The code managed to connect my computer to the Arduino, but it doesn't work on my ...
1
vote
0
answers
36
views
How to run command in ternux command from another app
I created code, which launch termux:
PackageManager pm = Editor.this.getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.termux");
Also i added to manifest some args:
<...
1
vote
0
answers
176
views
how to run termux command in another app?
I need to launch script in termux in java (i want to make apk compiler). Here is build_script.sh file:
#!/data/data/com.termux/files/usr/bin/sh
# Додайте PATH
export PATH=$PATH:/data/data/com.termux/...
0
votes
0
answers
86
views
Is it possible to switch Termux's TTY and/or run command on another TTY via a bash-script?
I am trying to use the Termux Widget plugin which launches bash scripts as shortcuts on the homescreen. Everything seems to be in order except this one thing.
Say, there's a simple script which just ...
-1
votes
1
answer
46
views
lldb running in REPL mode, need example REPL configuration file (android)
I have lldb 18.1.5 running on a Termux installation replete with multiple languages, but cannot get lldb -r -R "language" going for any of them. Apparently I need a config file .lldbinit-...
0
votes
0
answers
60
views
How can I resolve the "spawn ENOENT" error when running a Sencha CMD command in a Termux environment on an Android device?
Hello everyone I need help when I started learning extjs framework, I got an error. When I run the "start" command the error message appears like this: [ERR] [ERR] Error: spawn /data/data/...
0
votes
1
answer
734
views
How to deal with disabled root
How to solve this
How to solve this
/data/data/com.termux/files/usr/bin/sudo: line 313: /sbin/su: No such file or directory
Ability to run this command as root has been disabled permanently for safety ...
1
vote
1
answer
1k
views
Termux reports "No such file or directory" for bash even after using termux-fix-shebang
I'm trying to run a very straightforward "Hello world" batch script in Termux, but it reports the error line 1: #!/data/data/com.termux/files/usr/bin/env: No such file or directory
Here's ...
1
vote
1
answer
178
views
The PMIx server's listener thread failed to start. We cannot continue
I am using termux with ubuntu. I need to run a python program. However i get the below error.
root@localhost:~/capstone/mpi# mpirun --allow-run-as-root -np 1 python3 index.py
[localhost:18945] ...
1
vote
0
answers
15
views
When did android start supporting versioned library?
I have heard in the past that Android doesn't support versioned libraries and all library names and SONAMEs should end with the extension .so. Libtool disables version suffixed SONAMEs and library ...
0
votes
0
answers
37
views
How to install pytables without blosc2 in termux?
I tried to install pytables in termux (in order to use it in pandas). And I already install the required libs first:
pkg install libhdf5 liblzo bzip2 libblosc
Then I try to install tables via:
...
0
votes
0
answers
251
views
File deletion in Termux bash leads to dangling/stale entry in directory as seen on Android shared storage
I'm experiencing a weird problem:
I have a file on Android shared storage (/storage/emulated/0) which I delete with Termux bash's "rm" command.
First it seems to work as expected.
The file ...
0
votes
0
answers
261
views
What is the termux command to open a closed port?
I recently closed a tcp port on termux and need to know the commands to open it again?
Used kill -9 $(lsof -t -i:port# -sTCP:LISTEN)commands to close a port
Need to know the same to open? If anyone ...
0
votes
0
answers
169
views
Python pip Pandas installation metadata-generation-failed error in termux
~ $ pip install pandas
Collecting pandas
Using cached pandas-2.2.1.tar.gz (4.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject....
0
votes
0
answers
29
views
Automate description in WhatsApp
How can I automate description in WhatsApp
I want to do like discord: if I'm online, it show "Online", if I have no battery it shows "No battery", and all that.
So I want to modify ...
0
votes
0
answers
39
views
Python flet on termux, is it even possible? [duplicate]
Flet is a relatively new but powerful technology and I'm currently working on a flet desktop project, but I want to work on it while I'm not home and I don't know if flet and termux are ready to work ...
2
votes
1
answer
389
views
How to give command to a different proot distro shell in termux?
I have a file called debian. I have made a flag of -d. Which turns on the termux-x11 server and the pulse audio server. To make a display I then have to type a different command I created called ...
0
votes
0
answers
117
views
How to hide app using Android activity manager?
I need to hide some apps using terminal from crDroid launcher: com.android.launcher3
But not via "pm disable", but via "am" or some other way to make the apps run in the background ...
0
votes
0
answers
54
views
I got an error when installing and using the discord JS termux bot
Link github bot
`
/sdcard/NanoSpace $ npm install
npm WARN deprecated @discordjs/[email protected]: no longer supported
npm WARN deprecated @discordjs/[email protected]: no longer supported
npm WARN ...
0
votes
0
answers
27
views
Laravel on Termux shows 419 Page Expired even with [at]csrf sintax
I run a Laravel 10 that contains a simple form and I want to know every request value when the form is submitted. The project works well on Windows 10 and Ubuntu, but show error 419 Page Expired when ...
1
vote
2
answers
3k
views
Cannot pip install numpy (and many other packages) in Termux (on an Android tablet)
I was trying to edit some python scripts in my Android Tablet (Lenovo P11 2nd Gen, Android 13) using NVChad on Termux (v.0.118.0). NVChad works just fine, but (as stated in the tittle) I cannot pip ...
0
votes
0
answers
204
views
Launching mongodb on Termux error ECONNREFUSED
I'm beginner in node.js and trying to run mongodb.
It works well with remote connection link, but I have no stable internet connection, so I need to deal with it locally on Android device + Termux.
...
0
votes
0
answers
164
views
cannot install python pyo library in termux
im trying to install python "pyo" library but it failed.
command :
python -m pip install --timeout=60 pyo
output :
.... (see full erorr massage at : [https://paste.quest/?ef43e5da487b4790#...
0
votes
0
answers
225
views
How to copy text from within the text editor nano in the context of a Termux session (on Android) to the Android system clipboard
I am editing text in nano. I can't copy text, neither within nano itself nor to the Android system clipboard (where I need the copied text to go).
I tried:
selecting text using Strg.-M-6 (works), ...
0
votes
0
answers
57
views
Error in /data/data/com.termux/files/home/vendor/telegram-bot/api/src/BotApi.php on line 329 when running Telegram bot with php
I want to create a Telegram bot using PHP, but it gives me an error in termux
Fatal error: Uncaught TelegramBot\Api\InvalidJsonException: Syntax error in /data/data/com.termux/files/home/vendor/...
0
votes
0
answers
96
views
Running C++ Executable Compiled in Termux in Flutter for Android
I'm attempting to execute a standalone C++ executable, compiled in the Termux environment, within my Flutter app for Android using Process.run('./hello', []). However, I'm facing "No such file or ...
0
votes
0
answers
52
views
Cant login to npm using termux on my mobile TERMUX__USER_ID: parameter not set
Iam trying to login to npm to publish a package but termux keep giving me TERMUX__USER_ID: parameter not set and cant open the browser.
I tried finding some info about this but sucsess.
here is the ...
0
votes
0
answers
210
views
Android Termux Writing to USB with Bulk Transfer
I'm using the Termux app with Termux API and termux-usb. I'm able to use pyusb and libusb to successfully query metadata and read from my device, but I'm unable to write to it. Specifically, ...
1
vote
1
answer
82
views
Previously defined variable in bash script not expanded when I try to execute a command through SSH [closed]
#!/bin/bash
CLIP=$(termux-clipboard-get)
ssh user@ip 'cat>~/Scripts/clip.log<<<$CLIP'
This is a very basic bash script to forward my system clipboard from my phone (through termux) into a ...
1
vote
1
answer
194
views
How does rust searches for crates?
I am using termux and trying to compile a hello world in rust, of course it can't find std nor core, I want to know what is going on, it is quite opaque, which files are missing exactly, is it these?
$...
0
votes
0
answers
4k
views
How to install vs code in termux in android phone
I am trying to install vs code in termux terminal but its giving me the following error
root@localhost ~/c/bin# ls
code-server*
root@localhost ~/c/bin# ./code-server
./code-server: 28: exec: /root/...
0
votes
1
answer
374
views
How to install tailwindcss in android?
I want to install Tailwind CSS on Android, but when I want to install it an error appears saying that access is denied, and isn't the file data/data/com.termux out of access and how can I solve this ...
1
vote
0
answers
97
views
How can I install NodeJS-lts on my Android 5 phone with termux?
I have an old phone that runs with Android 5 and I want to host Discord bots with this phone like vds. But the repositories of Termux for Android 5 only includes Nodejs v13. So, I get “cannot find ...
1
vote
1
answer
45
views
Trying to play audio in AnotherTerm
I'm exploring Java with AnotherTerm, using AnLinux Debian rootfs and a script to install IceWM for VNC server usage in proot. I'm encountering difficulty playing audio within the proot and IceWM. Any ...
0
votes
0
answers
30
views
How can I set custom icons for fancygit in the terminal?
Is it possible to set custom fonts for a terminal extension called fancygit. I read through the readme.md file, and while it does say it supports it, I cannot find out how to access the file that ...
0
votes
0
answers
293
views
How can I set a default editor on Android using Termux?
I am trying to set the default editor, to use with git, on an Android app called termux. However, when I set the value, it says unable to start editor. Is there a specific file path I need to provide, ...
2
votes
0
answers
101
views
Why does malloc return a very high address not existing in /proc/pid/maps?
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <sys/mman.h>
int main(void){
int fd,*p1,*p2;
p1=malloc(100000000);
p2=mmap(...