Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
10 views

meter preter session is not opening [duplicate]

How to fix the error Metasploit requires the Bundler gem to be installed While executing ./msfconsole on termux
-1
votes
1answer
38 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
25 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
25 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
125 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
27 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
57 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 ...
0
votes
1answer
74 views

Equivalent ADB command in Termux

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

How to give Termux more permissions?

Samsung android 5, last updated officially before update: termux could do almost any thing I want now: every thing I do returns Permission denied Operation not permitted Unsupported flags ...
0
votes
1answer
167 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
128 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
121 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
91 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
0answers
24 views

“Move” a socket installed in termux

To begin with, I know you can't move sockets (hence the quotes around "move"). What I am looking to do is remove the socket created by a package, and then recreate it again in a different location. ...
0
votes
1answer
103 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
71 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
549 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
449 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
420 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
552 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
369 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
124 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
753 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
4k 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
55 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
3k 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
293 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
568 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
63 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
303 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
517 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
83 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
78 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
2k 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
53 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
285 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
4
votes
2answers
5k 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 ...
4
votes
0answers
3k 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
366 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
136 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 ...
3
votes
3answers
4k 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
737 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
2k 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
7k 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 ...
5
votes
3answers
29k views

I'd like to run Termux as root: possible?

I'd like to have an SSH, HTTP and SMB server on standard ports on my phone. There's a way to run Termux as root and have the servers run on privileged ports? Running rooted Android 7.1 on an ...
9
votes
2answers
33k views

Termux - How do I create a directory of files accessible outside of Termux?

I discovered that the files and directory that are created in (default) Termux, are not accessible to other apps on non-rooted phones. Where is the folder that Termux defaults to? How do I set it ...
17
votes
4answers
35k views

Where is the folder that Termux defaults to?

The Termux app is a terminal emulator. If I create a file or a folder there, and then use another file explorer app to browse my device, where can I find these files?