/r/termux

Photograph via snooOG

Termux is a top-notch terminal emulator and Linux environment application for Android OS. In this official community of the project on Reddit we share our configurations, useful scripts, program, experience between each other and help troubleshoot issues.

For everything related to the Termux android app —an open-source terminal emulator and Linux environment for Android.

/r/termux

54,104 Subscribers

1

Docker on rooted Termux

How can i user docker in termux if i have rooted my android Is it possible? If yes then how ?

1 Comment
2024/12/03
15:57 UTC

4

Bring up Samsung proprietary VK driver on termux-x11

I'm trying to get Samsung's proprietary Vulkan driver (VK UMD) working on Termux-X11 proot linux. I heard that a special patch is needed for Termux-X11 since it differs from standard X11. The Samsung Vulkan driver has native DRI3 support, but it seems like Termux-X11 might require modifications for compatibility.

Does anyone have experience or guidance on patching Termux-X11 for this setup? Any resources or help would be greatly appreciated. (my email: tong.liu@samsung.com)

Thanks in advance!

1 Comment
2024/12/03
10:42 UTC

7

Guys, can I use proot distro for linux upskill challenge?

4 Comments
2024/12/03
06:31 UTC

3

X11 outside termux

Exists a method to use termux-x11 outside termux app? I'm a little tired of termux but I need x11

3 Comments
2024/12/03
01:39 UTC

3

jdk 21 not working on termux

hi, im trying to host a minecraft server (1.21) using ubuntu terminal on termux, since termux only uses jdk 21 i installed it, but it doesnt run with error

[spark] Starting background profiler...

> [WARN] Install JVM debug symbols to improve profile accuracy

[WARN] Install JVM debug symbols to improve profile accuracy

[WARN] open("/proc/kallsyms"): Permission denied

[WARN] Install JVM debug symbols to improve profile accuracy

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=18885, tid=19775

#

# JRE version: OpenJDK Runtime Environment (21.0.5+11) (build 21.0.5+11-Ubuntu-1ubuntu122.04)

# Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-Ubuntu-1ubuntu122.04, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)

# Problematic frame:

# C  [spark-408da4bb89b-libasyncProfiler.so.tmp+0x24c74]  VMThread::nativeThreadId(JNIEnv_*, _jobject*)+0x5c

#

# Core dump will be written. Default location: core.18885 (may not exist)

#

[thread 19776 also had an error]

# An error report file with more information is saved as:

# /root/hs_err_pid18885.log

[21:10:13 INFO]: Done preparing level "world" (44.788s)

[21:10:13 INFO]: Running delayed init tasks

[21:10:13 INFO]: Done (84.695s)! For help, type "help"

[21:10:13 INFO]: Timings Reset

> [thread 19777 also had an error]

#

# If you would like to submit a bug report, please visit:

#   https://bugs.launchpad.net/ubuntu/+source/openjdk-21

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

./start.sh: line 1: 18885 Aborted                 java -Xmx1024M -Xms1024M -jar server.jar nogui

please help

2 Comments
2024/12/02
22:13 UTC

2

I have technically installed react with node.js but...

Hello termux community. I've installed node.js and react and have successfully created an app. However there's a little thing that I don't grasp and am starting to blame my Galaxy a10 (Android 11, One UI 3.1). I would very much like to create my react app in my main storage directory and when I tried that with create-react-app I have got an EACCESS exception specifically for babel-parser.js tho I suspect it's not the only one just the first one to appear. I have all permissions in my Android (through app info and termux-setup-storage ) I gave chmod permissions too and I'm still unable to create a react app outside of the termux home directory. I also tried to copy the successful app build and launch npm install yet I still get the same problem. The yt tutorials show of a phone similar to OnePlus or Honor so I suspect that it might be a phone issue.

And yes I could use nvim and do my things in termux but there's an app that helps with that. Although I did not specifically tried with Acode I use Trebedit.

For those asking I'm trying to learn react and wanted to experiment it with MySQL and my PC is both hardware unstable and busy by my little sister. Is there any resolution outside of rooting or am I left to do the experimentation with termux...??

Thanks in advance!!!

5 Comments
2024/12/02
14:45 UTC

3

Termux on Oneplus12 OxygenOS 15

Hi all, it seems like I am able to use proot on termux and also run an ollama server. I'm currently on the latest .305 version.

I saw a lot of posts about it not working properly since OOS15. I hadn't checked on the initial version of the OS.

Is it the same for everyone?

3 Comments
2024/12/02
11:46 UTC

2

Can I setup a Cloud system like Google Drive on termux/proof distro arch? (and secure than gdrive)

Is root required? (I have root) or SHIZUKU would be enough? and why would it need to go in system also explain please

Thank you..

PS . I mean my own cloud

4 Comments
2024/12/02
06:59 UTC

4

How to run adb on android.

My android is unrootable from what I've seen. I have termux and I've installed android tools. I also started Shizuku and set it for termux, but it won't access the folder the files are in. I'm asking 2 questions:

  1. How do I finish the Shizuku setup?

  2. How do I use adb on Termux?

31 Comments
2024/12/02
00:52 UTC

2

Are there any recent(ish) phones that support a full Termux-X11 experience AND have a built in audio jack with DAC?

Are there any recent(ish) phones that support a full Termux-X11 experience AND have a built in audio jack with DAC?

I think Samsung are the only phones that can support a desktop Linux environment on an external display (DEX), but they don't have an audio jack or even a DAC to drive audio through USB-C.

Does anyone know a good phone for running a Debian XFCE desktop session in Termux X11 that also supports audio output?

5 Comments
2024/12/01
19:26 UTC

0

How do i actually use this

I just got told it was easy and fairly straight forward im just tryna edit my battle cats save file 😭

6 Comments
2024/12/01
16:54 UTC

4

how i install Ubuntu 24.10 or 24.04 on Termux with desktop with vnc ?. thanks.

any desktop environment ok As long as install the Ubuntu desktop.

3 Comments
2024/12/01
13:11 UTC

42

Share Your Best Use Cases for Termux

I've been diving deep into Termux lately, and I'm absolutely blown away by its versatility.

My Use Case:

I recently decided to breathe new life into my old Android phone by turning it into a dedicated home server.

With Termux, I set up several services on my phone, including Jellyfin for streaming my media collection directly to any device on my network, an IPTV server for streaming live TV channels, a torrent client to seed movies, and a few web apps like a personal blog and a simple note-taking app.

Share your experiences, tips, and any cool projects you've worked on!

85 Comments
2024/12/01
06:47 UTC

2

How to copy/cut/paste in neovim

In termux, how can I copy/cut/paste in neovim to my phone's keyboard? Like I use y or d in visual mode, it copies and cut, but it dosen't copy to my phone's clipboard. It copies it to somewhere else.

7 Comments
2024/12/01
05:57 UTC

1

How am I supposed to install big packages like opencv, pydantic and pillow without breaking termux python package??

1 Comment
2024/11/30
07:03 UTC

1

Guys how to make server Minecraft

and how to install openjdk-16 and no more thanks for Rent

1 Comment
2024/11/30
23:32 UTC

1

Qemu mapping

Hey, I'm a little bit curious about why this doesn't work.

As you cannot mount samba shares using termux on a non rooted device, I thought I could boot up an alpine VM using qemu, share a folder and mount there the samba share (I wanted to run a tdarr node)

So that's what I did, everything I do on that folder from termux or alpine gets reflected on the other, I can access the samba share from inside the VM but when "ls" inside the mounted samba share from termux I get nothing. Is there a way to make this work or am I just delusional?

Thanks!!

5 Comments
2024/11/30
21:40 UTC

1

Proot Ubuntu no OpenGL

Please help me. I installed one proot Ubuntu by script. It has so many good software, like Kig, Lazarus, offline documentation about almost all scientific and developers software... But can't simulate OpenGL 😕

For example, when I try to start Raylib script, it returns error that GLFW can't initialize Window, because GLX extension not found.

I tried all, installed all graphics packages from the distro apt like mesa, vulkan, etc., etc. But nothing helped. Please, the OpenGL works good in Termux native (there Raylib works), so it is possible. What must change in this Ubuntu so it to can simulate OpenGL!? P.S. It would be so so much good if the Termux natively had Kig and Lazarus, and all docs packages...

1 Comment
2024/11/30
19:47 UTC

0

What is the best method for Debian install on Android 11

Hope this doesn't cause any trouble but here goes

I'm running Android 11 on a Nintendo switch I've used termux before on different devices but I never was sure I was doing it the best way as far as proot or chroot ect..

So I was wondering what's the best method I actually apparently I'm running multiple debians on my s23 ultra. Don't ask 😂

Any opinion would be much appreciated thanks

18 Comments
2024/11/30
10:20 UTC

2

Boxy SVG

Can I install and run the aarch64 Boxy SVG on Termux proot?

3 Comments
2024/11/30
02:10 UTC

Back To Top