r/termux • • Dec 19 '24

★ Important ★ Do not install Termux from Google Play Store!

345 Upvotes

Source: https://github.com/termux/termux-app/discussions/4000

We are Termux maintainers and would like to inform our users that we do not recommend using Termux from Google Play Store. It doesn't matter whether Play Store version looks "newer", faster receive updates and so on. Please read below to understand the issue.

Why you should not use Termux from Google Play:

  • Its release was not done by current maintainers team. Yes, Fredrik Fornwall is founder of Termux. But his decision was not negotiated with rest of core developers team and therefore not acceptable.

  • Its release diverges from the original implementation published at https://github.com/termux/termux-app

  • Its release was an experiment for bypassing Android >= 10 exec restrictions and make a version compliant with Google Play policies.

  • Its release contains restrictions. For example users may access only media files (like .mp3 or .jpg) on their device storage while other files (like .py scripts) will be hidden.

  • Its release contains changes for how the programs are executed, which cause bugs in certain packages.

Termux on Google Play is available only for devices running Android 11 and newer.

Unless will be said otherwise, Termux Core Team will consider it as unofficial app or fork. This means it does not receive same support level as the original app. Please never suggest our users to download Termux from Google Play - we will take down such comments.

We will make an announce when state of Google Play release will change and unpin/delete this post. As of beginning of 2026, we have no updates.

Now stick to F-Droid or official GitHub (https://github.com/termux/termux-app) variants and suggest same for others.

Issues with Google Play release variant must be reported to relevant source: https://github.com/termux-play-store/termux-issues/issues

This post meant to provide short summary about Google Play Termux app issue and replace https://www.reddit.com/r/termux/comments/1db00bm/announcement_response_regarding_google_playstore/

How to check if you're running Google Play release

Just look at the message shown after you open Termux app. If you see lines with links pointing to termux.com domain, you are using Termux from Google Play.

Termux from F-Droid uses termux.dev domain.


r/termux • • Sep 16 '23

★ Important ★ Introduction for beginners

289 Upvotes

Welcome to Termux community!

Termux is a terminal app for Android OS. It similar to terminal on MacOS and cmd.exe on Windows, but here we talk about Linux component of Android OS.

This project is open-source software and all development happens on GitHub: https://github.com/termux

Download Termux APK from F-Droid or GitHub.

Key features:

  • Xterm-compatible terminal emulator.
  • Custom userland with package manager and more than 2000 packages of different kind such as text editors, file managers, games, servers network diagnostic tools, compilers, development libraries and other types.
  • Plugins for styling, widgets, on-boot startup, tasker integration, Xorg-compatible server.
  • Works without root permissions.

We would like to emphasize that Termux is NOT a machine emulator or VM. All programs execute directly on a hardware of your device.

What I can do with Termux

Basically, everything.

Termux hosts universal programming environment. You can build and execute all programs that can run on a traditional computer, assuming your device has sufficient amount of memory and enough CPU power to finish execution of algorithm within an adequate time frame.

Here is a curated list of common uses:

  • Software development environment
  • Bots for Telegram, Whatsapp, Discord, etc
  • Web server
  • Minecraft server
  • SSH client
  • NAS
  • Tiny LLM chatter
  • YouTube scraper
  • Pocket pentesting suite
  • Just fun

A footnote worth knowing: Android enforces sandboxing for every Android app to ensure it won't do nasty things or otherwise interfere with other apps and the system itself. Termux is not an exception here, so certain software may refuse to run without system-level privileges (root).

What I should know before starting to use Termux

First of all you need to make sure you are comfortable with command line environment. By using Termux, you agree to be one-to-one with a bare text. There is no intuitive graphical interface. You must to decide whether you truly want to go this way or actually want something else.

If your choice is "command line", then another important thing is a foundational knowledge. It would require certain effort from you, as it could be boring like studying maths.

Here is a list of topics to learn, optimized specifically for Termux:

  1. General terms: computer, kernel, operating system, file, path, program, process, command line, terminal emulator.
  2. Base shell usage: concept of commands, arguments, environment variables, pipes
  3. Common utilities: bzip2, cat, cd, cp, curl, cut, df, diff, du, echo, env, grep, gzip, head, id, kill, killall, ln, ls, man, mkdir, mv, pkill, ps, pwd, rm, rmdir, sort, tail, tar, top, touch, tr, uniq, unzip, wc, xz, yes, zip
  4. Package manager: apt
  5. Text editors: nano or vim
  6. Linux permission model: user, group; concept of "root"; chmod command
  7. SELinux: what it is and which role it plays on Android OS - don't go deep here

Optional:

  • Shell scripting: if/else logic, loops, input/output redirection, subshells, process substitution.
  • Text data manipulation with awk and sed

Alternatively check these learning roadmaps:

After you finish with this, proceed to goal-specific essentials.

Important: never ever run commands that you do not understand. In the best case it will just fail but sometimes commands may have really devastating effects, especially if you use root permissions (su/sudo). If by accident you delete your own data or brick the device, you can blame yourself and only yourself!

How Termux differs from standard Linux

Without diving into technical details, these are the differences of Termux from standard Linux distribution:

  1. Non-standard location of programs and user data: /data/data/com.termux/files/
  2. Non-standard core components: sideloaded programs usually will either refuse to run or show strange errors, compiling from source also may show issues sometimes.
  3. Sandbox environment: you can browse or modify only your own and Termux data.

How to install packages

Termux uses apt package manager and a rolling-release model which gets it close to a Debian Sid distribution, although it is much different internally.

However as you are probably new for Termux we recommend using a helper utility "pkg":

  • Install package: pkg install package-name
  • Uninstall package: pkg uninstall package-name
  • Upgrade system: pkg upgrade
  • List installed packages: pkg list-installed
  • Search for a package: pkg search query

PKG utility does under the hood certain actions importance of which may be non-obvious for a newbie:

  1. Mirror selection

    Package downloads put a huge burden on the servers bandwidth. We don't own much servers and geo load balancing system because this can be very costly, so we take advantage of help offered by certain community members and organizations. Mirrors maintain a clone of the original package hosting and deliver stuff independently from a base Termux infrastructure.

    That's important that users are spread across different mirror hosts.

  2. Periodic apt update

    Without keeping the package index fresh you won't be able to receive updates and package installation commands will eventually fail with 404 (not found).

Termux quality and security

We do our best to keep our infrastructure safe and patched against latest security vulnerabilities as well as to deliver most recent versions of packages.

However as we operate a small team of enthusiasts there could be certain bottlenecks. We can't test 100% of published packages, so there always is a chance that specific update will break something.

Please don't use Termux software in everything mission-critical. It is not certified for use in banking, healthcare, nuclear safety, etc.

Termux is open source project and we welcome any kind of contributions that would help us improve.

Banned content

Sadly, but a while ago Termux become an area of interest conflict between legitimate users and criminals. This resulted in absolute ban of specific topics:

  • OSINT
  • Doxxing
  • Social engineering; phishing and other types of fraud
  • Spamming
  • Malware making and delivery
  • Hacking
  • Surveillance, tracing, spying and similar activities
  • Bot farms for fabricating subscribers, likes and comments in social media
  • Taking down social media accounts by automated mass-reporting

This list is not definitive.

We don't accept excuses. Legends about "educational purposes" and "recovery of own gmail account" don't worth anything.

Remember that authorities have a certain interest regarding accounts asking about potentially illegal stuff.

Vibe coded content

We generally allow publishing vibe coded software as soon as it doesn't violate community rules (e.g. doesn't serve hacking purpose) and is not a deliberate garbage. Feel free to submit everything that you believe might be useful, but don't forget to include details for how to run your stuff on Termux.

Highly recommended to disclose AI usage.

A typical example of vibe coded project born out of nowhere and without history: https://github.com/sylirre/terminal-chat

Remember that AI is just a tool. Whether it can produce crap or something good, depends entirely on its user.


This article is subject for periodic revisions. We may submit newer versions from time to time.


r/termux • • 7h ago

Showcase LaTeX IDE for Android: A Local Python-Based Development Environment

Thumbnail gallery
9 Upvotes

Guys, I managed to finish this! It’s a Python-based server specifically designed to power a LaTeX IDE, with a built-in PDF viewer, code completion and suggestions, and error logs powered by Texlab.

The IDE also includes a package manager where you can download only the LaTeX packages you need for your projects, so you don’t have to install the entire TeX Live distribution. It also has project management features.

The design is more streamlined and minimalistic, although I still plan to improve it further. For now, it is completely dependent on Termux as the backend, but I plan to decouple it from Termux in the future. There’s still a lot of work to do, though.

If you’re interested, I can publish the project on GitHub.


r/termux • • 5h ago

Question Kotlin LSP for Termux?

2 Upvotes

Hello, I am finding a kotlin IDE for termux but it seems sparse. I think the official Jetbrains LSP requires their IDE. Any ideas? Thanks.


r/termux • • 18h ago

Question Which Android phone is most reliable for long-running Termux sessions?

12 Upvotes

I'm choosing a phone for a persistent mobile Linux workspace. I want Termux sessions and local scripts to stay usable with the screen off, and to come back to the same environment without constantly restarting everything.

For people running Termux this way, what exact phone/Android version has been reliable after the normal battery-optimization settings? Are some manufacturers still aggressive about killing processes, and is root or a particular ROM actually needed? Battery life, heat and update stability matter more to me than peak performance.

Would you keep the workload on the phone, or use Termux as an SSH client to an always-on Linux box for the least hassle? I'm asking about hardware and process reliability, not exploit instructions.

This question was drafted and posted with an AI assistant.


r/termux • • 14h ago

Question Is it good to have 6GB of RAM for termux?

6 Upvotes

The tablet has a Unisoc Tiger T616 processor

and a Mali-G57 graphics chip.


r/termux • • 19h ago

Showcase Um Ambiente Minimalista de LaTeX Local para Termux

Thumbnail image
9 Upvotes

r/termux • • 1d ago

Showcase Tested DroidDeck using termux SteamOS on Android on Mali G68 / Dimensity — Here’s why Gamescope crashes and the crash log breakdown

Thumbnail youtu.be
9 Upvotes

Saw the hype around DroidDeck recently promising a single-app SteamOS container setup on Android without root. Decided to test it out on my daily driver (Realme 11 Pro 5G with Dimensity 7050 / Mali-G68) to see if low-end/midrange non-Snapdragon phones stand a chance.

Spoiler: As expected with Mali hardware, gamescope fails to initialize properly and dumps into a crash loop right at boot.

DroidDeck is definitely in very early development. I pulled the session dumps via Termux to see what's actually happening under the hood:

termux-setup-storage

cd /storage/emulated/0/Download/DroidDeck/session-20261001-083456/

ls

cat crash.log

The logs clearly show the standard Gamescope display server failure—mainly lack of proprietary driver translation support that Snapdragon Adreno chips get via custom Turnip drivers. Mali's stock Vulkan implementation just chokes when trying to allocate the virtual nested display.

Recorded a quick breakdown showing the exact crash logs, why Gamescope fails on Mali, and how to verify if your device's GPU is being rejected by the container

Has anyone with an Exynos or Dimensity SOC managed to pass a software rendering fallback (like llvmpipe/virgl) to Gamescope inside DroidDeck without it hard crashing to home?


r/termux • • 15h ago

General Can't change ringtone in my android settings, downloaded through yt-dlp

0 Upvotes

Hi there, so I downloaded an audio from ytdlp under `~/storage/music` but the mp3 isn't visible to select, when I open the download folder.

The file exists in `/storage/emulated/0/Music`


r/termux • • 19h ago

Showcase Found a better way to run OpenClaw on Android — no proot, no Ubuntu, directly on Termux

Thumbnail image
2 Upvotes

r/termux • • 1d ago

Showcase SELinux in permissive mode but without root

Thumbnail image
17 Upvotes

I used a process to root the phone but ended up getting stuck halfway through, though I was left with SELinux in permissive mode. What can I do in Termux with SELinux in permissive mode?


r/termux • • 1d ago

Question Linux on moto g31 ?

Thumbnail gallery
5 Upvotes

r/termux • • 1d ago

Question Can Termux run as root using ADB root?

7 Upvotes

I’m running LineageOS with rooted debugging enabled. I can use adb root to get a root shell without installing any root solutions. I can even get a root shell inside termux using wireless debugging.

Can Termux use this somehow to run as root? Like some sort of alias that wrap around all this and use adb root to run termux commands as root.


r/termux • • 1d ago

Showcase Chromium 150 inside proot: those rascals now demand dbus, logind, and probably divine intervention

5 Upvotes

It looks like Chromium 150 has introduced a hard dependency on dbus, dbus-user-session, and logind.

Inside a proot environment, none of these components can function correctly because proot cannot provide a real init system, session bus, or logind integration.Until Chromium 149, the browser still ran — imperfectly, but it launched and worked well enough for daily use.

Starting with 150, the startup sequence fails immediately: Chromium tries to connect to dbus, doesn’t find a valid session bus, and exits with a fatal error. There is no fallback path and no way to bypass the requirement inside proot.Chrome is not an option either, since there is no ARM64 build available.To make sure the issue is tracked, I opened a GitHub issue to notify the proot maintainers about the regression and to see whether any workaround or compatibility layer might be possible.

For now, Firefox remains the only browser that still works reliably inside proot.

And honestly, it’s frustrating when applications drop backward compatibility so abruptly.

A single architectural assumption can break entire workflows — especially in constrained environments like proot, where you simply cannot provide systemd or logind even if you want to.


r/termux • • 1d ago

Question Can Termux FileReceiverActivity’s Default `~/downloads/` Directory Be Changed Without Source Modifications

1 Upvotes

why termux FileReceiverActivity (termux-file-editor) use `~/downloads` folder to open a file?? is there a way or api to change it without change termux source code??


r/termux • • 1d ago

General nix-on-droid simple

Thumbnail image
3 Upvotes

r/termux • • 1d ago

General Ayuda con Termux

1 Upvotes

Hola , necesito ayuda, construi una tabla de balance masa para galletas en Py3, funciona muy bien , pero ahora quiero convertirla en una app de Android, con Termux, pero no conozco, esta herramienta, por favor si alguien me ayuda, gracias


r/termux • • 2d ago

Question Quick question: what do you really use termux with graphics for? Like I know you can run Linux apps but like for what do you actually use it for? You can't really game on it. You can code on it but it's miserable

11 Upvotes

r/termux • • 1d ago

Barely Termux related Send key combinations like CTRL-D, CTRL-C from Windows PC to Termux Android?

Thumbnail
0 Upvotes

r/termux • • 1d ago

General Ia termux

0 Upvotes

Buenas, una consulta que tipo de IA recomiendan para termux tipo sin censura, qué sea para todo etc.

Algo como worm-gpt o similar.

Por lo general uso opencode pero hay ocasiones pues que dice X no puedo hacer eso.

No se si hay algún prompt o jailbreak 🤔


r/termux • • 3d ago

Showcase Nyala package manager

Thumbnail image
67 Upvotes

I'd like you to give me your thoughts on this project. It was inspired by NALA. https://github.com/ekanurrohman997/nyala


r/termux • • 2d ago

General Trying rainbow RGB animated box – terminal!

Thumbnail gallery
7 Upvotes

r/termux • • 2d ago

Showcase I build, install and test a full Android app on the phone itself: Termux + Gradle + adb to itself, reached over SSH (write-up)

6 Upvotes

I have a desktop at home but no laptop, and I also work on my Android app in free time at my day job. I don't want to install, download or put any files on the work PC, so the app is built, installed and tested entirely on the phone it runs on (Nothing Phone (3a), Android 16). The work PC only opens an SSH session with the ssh client Windows already ships, and nothing stays on it.

The setup, in short:

- `pkg install git gh openjdk-21 aapt2 android-tools openssh python`

- Android SDK command-line tools **13114758**. Newer builds wrap an x86 binary that won't run on arm64. `termux-fix-shebang` their `bin/`.

- Termux's own `aapt2`: symlinked into build-tools, and `android.aapt2FromMavenOverride` in `~/.gradle/gradle.properties` (the one Gradle downloads is x86). Kept out of the repo so the PC build still works.

- A Gradle init script moves build output into `~` and skips release lint, which is slow on a phone.

- adb talks to the phone itself over Wireless debugging: `adb pair 127.0.0.1:<port> <code>`, then `adb connect` the other port. Install, `logcat`, `uiautomator dump`, `screencap` and `bugreport` (for the Bluetooth HCI log) all work from Termux.

- `sshd` + `termux-wake-lock`, with a Termux:Widget shortcut that starts both and prints the IP.

An incremental rebuild after a small edit takes a few seconds. The code is written with Claude Code running inside Termux too, so it builds, installs and reads logcat over the same adb link.

Full write-up with every command and the gotchas: https://github.com/spizganed/QuickBuds/blob/main/docs/TOOLCHAIN.md

The app itself is QuickBuds, an open-source controller for OnePlus / OPPO / realme earbuds, if anyone's curious.


r/termux • • 2d ago

Question Which editors and filemanager do u use wit termux?

13 Upvotes

r/termux • • 2d ago

Question RAM disk on non-rooted device

3 Upvotes

Hi,

Wondering if there is any possibility to create RAM disk on non-rooted device? Looks like tmpfs requires root priveledges and there is no access to fuse? Maybe there is some other way to intercept filesystem calls to specific folder?