Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [termux]

Termux is a powerful shell environment for Android.

0
votes
1answer
16 views

Termux on fire hd 10"

I am trying to install termux on Amazon fire hd 10. Apk is downloaded and installed but when I start the app its stuck on installing for a long time and doesn't go forward. Any help is appreciated. I ...
0
votes
1answer
32 views

Why lsusb gets “permission denied” error in Termux?

When I run this command in Termux the output gets permission denied. I don't have root access, perhaps Android system allows me to get the specific access in root.
0
votes
0answers
24 views

How to install ijavascript on Android?

I am trying to install ijavascript on my Android phone (realme two pro). I installed termux and followed the steps mentioned here, then installed Node.js. Now when I tried to install ijavascript via: ...
3
votes
1answer
56 views

Number of available cores

To find the number of cores available to you in Termux you run: grep Cpus_allowed /proc/self/status This number of cores is limited in a similar way to running taskset on GNU/Linux. I am trying to ...
0
votes
0answers
38 views

Running metasploit on android error

I am trying to run metasploit on Android using Termux. I've already installed it but when i try to run msfconsole command i get this error: ruby: No such file or directory -- /data/data/com.termux/...
1
vote
1answer
22 views

Termux:Widget and Emacs: can't start subprocesses

I have some tasks that I like to do using Emacs on several different operating systems. I have been using Termux so that I can access these tasks on my Android phone. To reduce setting-up typing in ...
0
votes
0answers
35 views

Compile apps from github source on device via termux or apps?

Is there any app's like "apk builder" by heagoo that can compile apks on device from github source? Termux method would be nice too if anyone knows. I have tried "sdrausty.github.io" method but I ...
-1
votes
1answer
226 views

Error while executing msfconsole on Termux

How to fix the error Metasploit requires the Bundler gem to be installed While executing ./msfconsole on termux
1
vote
0answers
272 views

Run windows 10 ARM on QEMU

I have downloaded the Windows 10 arm on my Android phone but the problem stops when I press any keys to boot from the CD or DVD Can anyone tell me what I can do to make it go off successfully This is ...
1
vote
0answers
64 views

Termus/Python - How to mark unread SMS messages as read?

I made a simple SMS reader script with Python and Termux/Termux API (I use termux-tts-speak to read the messagees and execute the script from Termux). The script reads messages (with termux-sms-list) ...
0
votes
2answers
458 views

How to Play Sound from Termux when using Linux?

I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is ...
1
vote
1answer
39 views

Unable to handle subfolders in Termux

I'm trying to run a program which has its own directory. Termux doesn't allow creating the directory nor accessing the folder (permission denied error) after moving it to the Termux home directory ...
0
votes
0answers
191 views

exagear and wine on Termux

How do I install exagear emulator or anything similar to it on the Termux? Translate x86 applications to run on Wine on arm64 processors on Termux on Android to run Windows applications on Wine. Wine ...
1
vote
1answer
463 views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
0
votes
2answers
1k views

How to make Termux obtain root access?

I am using a rooted Samsung S8+. But, Termux cannot gain root access. I tried su, sudo unsuccessfully. When I tried installing termux-sudo, I had the error cat: sudo: no such a file or directory. ...
2
votes
0answers
839 views

Package installation in Termux

I'm reading this guide that describes how to install the statistical language R on Termux. My installation journey is briefly outlined below. I need to determine why nothing happens at Step #2 ...
-1
votes
1answer
225 views

android termux busybox do not let me run commands

Anyone knows why when I try to run a command on termux like nc busybox try to run the command instead netcat the same happens when i try to run tar busybox gets in the way ?
1
vote
0answers
230 views

Termux says file does not exist but it does

A while back I installed nano on Termux and it worked fine, but when I accidentally tried to copy a file into a nonexistant directory at nano's location, nano wouldn't run. I checked and the ...
0
votes
1answer
166 views

Unable to install PyCrypto

I'm installing PyCrypto because it is a dependency of another package. The installation always ends in an error in Termux (pip install pycrypto): Command "/data/data/com.termux/files/usr/bin/python -...
-1
votes
1answer
174 views

How to take screenshot from terminal

I am writing a python script to process an image. I need to take automated screenshots. How can i do that with some kind of command ? No root acces. I am using termux and terminal emulator.
0
votes
1answer
1k views

Termux was unable to install the bootstrap packages

After doing some research, it mention that the bootstrap in this url (http://termux.net/bootstrap/) must be download and install before one can use Termux. So, how do I install the bootstrap? or do I ...
0
votes
2answers
758 views

How do I view root ( / ) with Termux if termux-setup-storage doesn't help?

After reviewing this, I used termux-setup-storage on my phone and Andy Android emulator. After running the above command, I am able to view root directory with ls on Andy emulator but not on phone. ...
0
votes
1answer
603 views

Immersive mode in Termux?

How can I enable immersive/fullscreen mode in Termux? I want to hide the bars at the top and bottom of the screen so that the entire screen displays the terminal. In summary, I'm looking for either ...
1
vote
1answer
867 views

Can I install packages to external SD card on Termux in Android?

I am using Termux in my Android device and it is awesome. I've installed it from Google Play. Now the packages that I install using the command pkg install ..., install those to the internal storage. ...
0
votes
1answer
449 views

Termux trying youtube-dl with aria2

I'm newbie and experimenting,like the title said i wanted to use youtube-dl with aria2 So this is my youtube-dl config --cache-dir /sdcard/Download --all-subs --external-downloader "aria2c" --...
1
vote
1answer
243 views

Termux print to txt

So i use termux and newbie,i want to save -help command from package as txt in internal storage with specific file name Ex:youtube-dl --help,aria2c -h,etc How to do that?
0
votes
2answers
1k views

Unable to install express ( of node.js) in Android termux using sdcard0 as directory

I'm unable to install express in Android termux. I have latest nodejs installed. It is working perfectly when I use Private storage but I'm using cd /storage/sdcard0/NodeJS/Test/ and getting ...
1
vote
3answers
5k views

How to type “Control” on Termux?

There is a good App "Termux" which can provide a powerful shell environment without gain root permission. However, the touch-screen keyboard doesn't include "Control" and "Alt" button. But some ...
0
votes
0answers
73 views

I have half install metasploit in termux Due to net problem

But Now it show it is install.but command doesn't work
2
votes
2answers
4k views

How to use tmux copy / paste in Termux?

I installed Termux and using the pkg system installed tmux. However, the tmux that installs doesn't appear to support copying and pasting. I can enter copy mode, but I can't select text and copy ...
0
votes
1answer
355 views

When I'm trying to run “xterm” in termux, it says failed to open display : :0. Why so?

I'm running xserver xsdl. Then tried running xterm in it after export DISPLAY=:0 . If I do export DISPLAY=10.94.XXX.XXX:1 , xterm runs fine. I tried to debug it using strace. This is the line, which ...
0
votes
1answer
705 views

Termux - Cannot run python file in tasker

I am trying to run a python file in termux for use in tasker. The termux tasker plugin requires an executable (you can't just run a command like "python something.py"). However, running chmod +x ...
6
votes
2answers
1k views

Treble: How do I check if it is enabled on my device?

Title says it all By way of background Project Treble was announced with release of Oreo to speed up OS updates by reducing OEM delay . Devices running Oreo out of the box are expected to have it , ...
0
votes
1answer
68 views

Case statements in termux

I tried this and failed. Does case statements exist in termux? #!/data/data/com.termux/files/usr/bin/bash case in "$1" start) echo 'var1' ;; stop) echo '...
1
vote
1answer
382 views

Create shared folder on sdcard

Is there any way to create a directory on an external sdcard that has read/write access for multiple apps. For example I want to us synththing or rsync under termux be able to sync this directory to ...
2
votes
0answers
567 views

Tasker to programmatically uninstall apps

I would like to setup a tasker profile to check every predetermined time for any apps not on my approved list (BaselineApps.txt) and uninstall them. I am a noob to shell scripting and tasker. This is ...
0
votes
1answer
95 views

Empty variables in termux' bash

I want to perform a test: if a certain variable exists, is non-empty, and its value matches an existing directory, then "exists" should be typed. I did the following: $ echo $var $ if [ -d $var ]; ...
0
votes
1answer
90 views

Is there /etc/shadows in android termux?

I tried the following: $ pwd /system/etc $ ls | grep 'shadow' But nothing was found.
2
votes
3answers
3k views

Path for bash in Android termux

Regular paths for bash do not work in termux app. I tried: /usr/bin/bash and /bin/bash Also 'whereis' command gives the following output: $ whereis bash bash: /data/data/com.termux/files/usr/...
1
vote
1answer
54 views

Android Box crash, how to restore /data files

I have an Android box that has the app Termux (command line app) and in there I have some node apps made by me that are important. I have screw up my Android by modifying the /system/etc/permissions/...
1
vote
0answers
326 views

my browser cannot visit localhost after installing apache2 on termux

my android browser cannot visit localhost after installing apache2 on termux. How do i access the server by visiting localhost? I hage tried restarting the phone but no change
5
votes
2answers
6k views

Termux write to SD card

Android 5 Termux 0.54 Not rooted, no wish to $ pwd /storage/sdcard1 $ id uid=10096(u0_a96) gid=10096(u0_a96) groups=1015(sdcard_rw),1028(sdcard_r),3003(inet),9997(everybody),50096(all_a96) $ ls -l ...
5
votes
0answers
4k views

Adb commands from Termux

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using usb/otg cable. Need to unlock bootloader but have no ...
1
vote
1answer
438 views

Moving default folder Termux with content to downloads in Android 7

This is what I need; Termux - How do I create a directory of files accessible outside of Termux? I have my Tiddlywiki running on node.js in Termux. My problem is that Termux stores all files in the ...
2
votes
0answers
160 views

Prevent apps from being suspended

I run sshd in a Termux window as my main means of accessing files on my Galaxy S7. This works fairly well, except that I seem to have to re-run sshd rather frequently. I suspect that this is because ...
5
votes
3answers
5k views

Use GCC compiler in Termux?

I don't like the default C compiler clang provided by Termux. Is there a way I can get GNU GCC in my Termux environment?
0
votes
2answers
896 views

Using php module from termux as root?

I'm writing a anti-thief on a clean shell using termux. I turned on the backlight with the volume buttons and I want to send photos of "thief" to myself in correspondence in the social network ...
3
votes
2answers
3k views

which termux package provides the “mount” command?

i try to install "mount" with apt, but i can't locate it, or a package that contains "mount". i've tried: just to run mount: no command 'mount' found apt update && apt upgrade apt ...
0
votes
1answer
3k views

termux - help installing a package

I am trying to install texlive using termux. It's in the package manager, but unfortunately the package has some faulty instructions. Specifically, the package calls wget with a faulty option. if ...
3
votes
2answers
8k views

Wget using Termux download directory

I just installed Wget using Termux on my Android. But, when I download a file, I cannot find it's location. Can anyone please tell me where it's located? And how can I change that location to my ...