r/termux • • Dec 19 '24

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

359 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

297 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.

Best devices for Termux

As of 2026, almost any budget Android device will be enough to run Termux and be suitable for the most tasks.

Key specs to look for:

  1. Storage: the most important resource, recommended minimum is 256GB. Termux runs copies of packages you'll find on server/desktop Linux distributions, so the disk usage isn't really "mobile". On some setups Termux app may consume tens of gigabytes and that is absolutely normal.

  2. RAM: 6GB is recommended minimum and should be enough in most cases. If you plan to run LLMs, you definitely will need more. Remember that RAM on your device shared with Android OS and other apps, so Termux will get less than shown in device specs.

  3. Possibility for rooting and custom ROMs - must have if you are a "power user".

Gaming smartphones could have better heat dissipation which would be good for those who run heavy processes (compilation, LLMs, etc).

Warning for e-Ink owners: if you ever decide to use Termux (especially with X11 apps) on device with e-Ink display, acknowledge the risk. Pixels of e-Ink screen have limited refresh cycles (some manufacturers estimate ~10M) and are not designed for dynamic content. It's possible to "burn" the display within few months of active use.

Community: 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.

Community: Vibe coded content

We generally allow publishing vibe coded software. However it should match /r/termux topic and don't violate community rules. Feel free to submit everything that you believe might be useful.

Content might be removed at moderator's discretion without explanation.


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


r/termux • • 14h ago

Showcase Shroot 1.0: run Debian directly in Termux, no root or Shizuku needed

Post image
30 Upvotes

Last time I posted here, you needed MagicDesk and Shizuku to try Shroot. I've since split it out into its own project. It runs under Termux's own Android UID, on the phone's kernel. There's no VM or extra APK to install.

One test I ran on my phone: I started Alpine from Termux, built Shroot with musl inside Alpine, and used that build to start Debian. In Debian I built it again with glibc and ran the native test suite. That included running a debugger in a third guest. There's no special nesting mode. I tried it because a runtime trying to debug processes inside another copy of itself turned out to be a good way to find bugs I'd missed even with systemd and k3s working.

To try it on aarch64 Termux (Android kernel 5.15 or newer), install the .deb from GitHub Releases:

url=https://github.com/mekhontsev/shroot/releases/latest/download

pkg=shroot-termux-aarch64.deb

curl -fLO "$url/$pkg" && curl -fLO "$url/$pkg.sha256" &&

sha256sum -c "$pkg.sha256" && apt install "./$pkg"

Then pull Debian from the OCI registry and open a shell:

shroot install debian:stable --name debian

shroot login debian

It leaves your existing Termux packages and PRoot environments alone.

Source, install instructions and test results: https://github.com/mekhontsev/shroot


r/termux • • 1h ago

Question Fork repo termux

Thumbnail
gallery
2 Upvotes

Quienes interesados para crear en conjunto un fork de termux?

Idea crear un termux al estilo Stryker app, N-H entre otras funciones.


r/termux • • 2h ago

General UML updated to kernel 7.3.1

Thumbnail
gallery
2 Upvotes

I compiled a newer version of UML for Android, based on kernel 7.3.1 and using NDK version r30. I added support for btrfs, zram, AppArmor, SELinux, FUSE, and cryptsetup. While I’m not sure how graphical user interface (GUI) programs will run, it’s clear that I’ll need to use something like VNC. What do you think?


r/termux • • 4h ago

Question New Google Verification System

2 Upvotes

Google has announced that their highly controversial app verification program will now be rolling out globally at the beginning of next year. In January 2027, they will require that all app developers are registered with them, and if they are not, Android users have to wait a minimum of 24 hours to install the unverified APK file.

Sources & more: https://tech.ufdmedia.com/FEJC7CB6?s=fb

How will it affect us who have already Termux installed from F-droid or GitHub when we need to update? And will it affect the new people who want to install Termux from F-droid or GitHub?


r/termux • • 13h ago

Question What's some good questions to ask on this local ai? ( ignored the token )

Thumbnail
gallery
3 Upvotes

The llm model is Distillied Heretic Qwen 3.8 2b Q8_0.

SYS_PROMPT="You are Helpful, honest, Uncensored Ai assistants and can writes long answers or short questions depending on questions"


r/termux • • 14h ago

Showcase made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them

1 Upvotes

llama.cpp hit 1.0 a few days ago and quietly dropped a bunch of stuff people's scripts depend on, a few functions gone, a flag removed, a header that moved. went looking for something that'd just scan my code and tell me what's gonna break and couldn't find anything, so i built it instead.

its called llamadoctor, one python file, no deps, runs fine in termux since thats literally where i wrote the whole thing on my phone. point it at a folder and it tells you whats broken, severity sorted, links to the actual github PR for each one so your not just trusting some random script. if theres an easy mechanical fix it offers to do it for you, asks first obviously, and refuses to touch anything if your git tree is dirty unless you force it.

install is just(after cloning ofc.):

pip install -e .

llamadoctor yourfolder

repo's here if anyone wants to poke at it or tell me what i missed, pretty sure theres edge cases i haven't hit yet since i only had my own stuff and some test projects to throw at it

github.com/hunzo1/llamadoctor


r/termux • • 21h ago

Question Lenguaje de termux

3 Upvotes

Quien sabe si es posible cambiar el lenguaje de la cli de termux tipo de inglés al español u otro idioma?

En mi caso sería del inglés al español, solo el texto de salida, no de los comandos ni más nada.


r/termux • • 1d ago

Showcase Upgrading termux-sync to a safer version (v1.3.8), need your feedback & Security Audits!

Post image
7 Upvotes

Hi r/termux

Have you ever worried about what happens if you factory reset your phone, switch devices, break your phone, or uninstall Termux to free up storage only to realize later that you want to use Termux again without reinstalling everything from scratch or losing track of your past projects?

I built termux-sync to solve this exact problem!


Quick Installation

You can install it quickly via git clone:

git clone https://github.com/djunekz/termux-sync
cd termux-sync
./tsctl install

Or install via pip:

pip install termux-sync

Looking for Feedback & Vulnerability Audits

Before expanding further, I’d really appreciate the community’s help in testing, giving feedback, and searching for any potential security vulnerabilities or code improvements in termux-sync.

Feel free to open issues, submit pull requests, or leave your feedback below. Thanks!


r/termux • • 15h ago

Showcase opencode in (not from) your phone

Post image
1 Upvotes

r/termux • • 20h ago

General Regarding Termux on Google Play Store

2 Upvotes

When I first heard about Termux I was genuinely fascinated, for what I could do here. So, unlike regular people, I also downloaded Termux from Google Play Store. While it was decent, I was having trouble since the session duration is very low if I go out, also my Rust and cargo version kept staying in 1.96.0 while versions kept updating, also nothing else was getting updated too, like git, rust analyzer, rust src etc. I thought I should visit the official community in Reddit, and the first thing I saw was the post implying we shouldn't use Termux from Google Play Store. I read it, immediately uninstalled Play Store Termux and downloaded from F-droid. Now my Termux is the official version, much more sleek, cleaner and better. For example the UI looks better, and session time is very satisfying too. Also here I immediately got the latest version of Rust, rust src and cargo, 1.100.0 and other things like git, rust analyzer etc., which made me very happy. I've also left a review on Goggle play store telling that that's not the official version, all should download from GitHub or F droid and the official version is better. Now I'd like to address the fact that whenever anyone first hears about Termux, most of them install it from Google play store, just like I did, thus it has 10m+ downloads and 165K reviews with overall 4.4 star. And even if they know, many don't switch because they have to back up their data. So I'd like to request to increase the reach of official Termux, if possible put it in Goggle Play Store.


r/termux • • 1d ago

General Cant install python

Post image
4 Upvotes

I got the newest version of termux but i keep getting an error over and over and i cant install python


r/termux • • 1d ago

Showcase Plasma-mobile in Termux

Thumbnail gallery
14 Upvotes

r/termux • • 1d ago

Showcase I added tabs and easy access to side menu for faster switching I often swipe back instead of the side menu

53 Upvotes

and call it thermos


r/termux • • 1d ago

Question How do I copy file from proot container to my host machine?

Post image
5 Upvotes

I compiled pyroclear inside alpine container because I couldn't do it in native Termux because of cargo errors. Silly me even copied my compiled MacOS binary from my MacBook thinking arm64 is arm64.(We all learn some thing everyday I guess😅). Pyroclear works inside proot. I just need to copy it to my local bin for ot to work. Why does it say path doesn't exist?? I can literally see it. It's just...... there. Anyone has idea why?


r/termux • • 2d ago

Showcase Native Wayland session in Termux using Anland-Termux.

Thumbnail
gallery
12 Upvotes

Running a native Wayland session with the Weston compositor in Termux using Anland-Termux on LineageOS 24.0 on quite an old phone powered by a Qualcomm SM8250-AC Snapdragon 870 without DisplayPort Alt Mode. Hardware graphics acceleration works directly via the open-source Mesa Freedreno and Turnip drivers on the Adreno graphics processing unit. No root, no PRoot, and no virtual machines required.

Using a standard USB-C cable over the phone's USB 2.0 port and scrcpy --new-display=3840x2160/320, I streamed the desktop session as an additional external 4K display. Daily applications like LibreWolf, LibreOffice, file managers, and graphics editors are installed and run fairly smoothly within this environment.

This is not an ongoing project. Just a practical demonstration.


r/termux • • 2d ago

Showcase Real-World Torture Test: Cybertruck Wind Tunnel + Windows XP, 2000 & Linux on a $150 Moto G Play! Compiled in Termux.

6 Upvotes

Synthetic benchmark tools don't tell the real story—real-world multitasking torture tests do. Can an unrooted, entry-level $150 (CAD) Motorola Moto G Play (2024) with 4GB of RAM simulate a Cybertruck in a wind tunnel while concurrently running Windows XP, Windows 2000, Alpine Linux, htop, and Android 14's screen recorder—100% locally in Termux?

In this stress test, I compiled a native ARM64 OpenMP fluid dynamics wind tunnel simulation (complete with a shattered ArmorGlass Cybertruck model) and ran it across all 8 Snapdragon 680 cores alongside three live virtualized operating systems—with no cloud servers, no root, and no SSH tricks.

Concurrent Workloads Running Live on 4GB RAM:

• 2D Lattice-Boltzmann Wind Tunnel CFD (1280 × 480 grid / 614,400 fluid cells × 9 vectors, 8,000 iterations on 8 ARM64 OpenMP threads)

• Windows XP (QEMU local emulation)

• Windows 2000 (QEMU local emulation)

• Alpine Linux + Fluxbox desktop & live htop resource monitoring

• Android 14 built-in screen recorder capturing the entire run live

What is MLUPS?

MLUPS stands for Million Lattice Updates Per Second—the standard speed metric for Lattice-Boltzmann fluid dynamics simulations. Each "lattice update" calculates airflow velocity and pressure across 9 directional vectors inside a single grid cell. At 15.53 MLUPS across 614,400 cells, this budget phone was solving over 15.5 million fluid cells every second (nearly 4.92 billion cell updates total) while simultaneously running three virtualized operating systems!

Final Hardware & Wind Tunnel Telemetry Scorecard:

• Grid Resolution: 1280 × 480 (614,400 fluid cells × 9 vectors)

• Steps Completed: 8,000 iterations (8 ARM64 OpenMP threads)

• Total Wall Time: 316.55s (~5m 17s) | Avg Throughput: 15.53 MLUPS

• Aero Drag (Cd): 0.850 (Cybertruck + Shattered ArmorGlass)

• Memory Pressure: Lowest Free RAM dipped to 544 MB | Peak zRAM Swap hit 2,262 MB

• Thermal Telemetry: Peak & Ending Temp 52.6°C | Held 2,400 MHz peak CPU clock


r/termux • • 1d ago

General TERMUX [BAIXADOR]🇧🇷

Post image
0 Upvotes

Um baixando de Vídeo, Musica.

De qualquer lugar que você quiser.


r/termux • • 2d ago

Showcase I made my phone control itself from Termux: an AI agent reads the screen as text and taps for you

8 Upvotes

I wanted Claude Code (running in Termux) to be able to use the phone it runs on — open apps, tap, type — without a PC. So I wrote android-agent.

How it works:

- Termux connects to the same phone over wireless debugging (adb connect 127.0.0.1:PORT, pair once).

- The screen is read as a short numbered text list from the accessibility tree, not screenshots: a Settings screen is ~150 tokens instead of ~1,500 for an image.

- tap "Bluetooth", find "Developer options" (scrolls until it is there), wait-for, notifications.

- Recipes: record a task once, replay it later with zero model calls.

- agent.py: give it one sentence and a model does the whole task (Claude or any OpenAI-compatible endpoint). It asks before anything irreversible.

In the video I type one sentence and the model opens YouTube, reads the screen as text and plays a video in 6 steps. The screen reads cost ~550 tokens; as screenshots it would be ~3,000.

Python + adb, no other dependencies. MIT. Tested on a Xiaomi with Android 16 so far — reports from other phones are very welcome.

https://github.com/nebigoktug/android-agent


r/termux • • 2d ago

Question Help, how to bypass blocking of ioctl system calls to pty (e.g. TIOCMGET)?

3 Upvotes

I recently published a post that soon we might be able to flash Arduino in termux. I put a lot of effort into it, wrapped it up nicely and finished the repository for myself (https://github.com/Michael32034/Termux-serial-tty). Now you can create a pty port to Arduino using `termux-usb -r -e './ptyport -b 9600 -s pty' /dev/bus/usb/001/00X` and read data via python, or open pty via `screen ./pty 9600`.

I already thought that I was at the finish line, but it turned out that in termux some ioctl calls are blocked. and it is these calls that avrdude uses when uploading code.

Does anyone have any ideas on how to get around this?


r/termux • • 3d ago

Showcase https://github.com/pithings/unkernel#-known-limits...Testing on native Termux

Post image
8 Upvotes

https://github.com/pithings/unkernel#-known-limits..........check this project on github, installed on termux with working network, you will have to read the full docs for set up #NOT MY PROJECT# I am just testing on termux


r/termux • • 2d ago

Question Termux bootstrap wont to work

1 Upvotes

Cant run bootstrap while using latest Android in termux. Any one know any fix?


r/termux • • 3d ago

Showcase Wayland (MangoWM) on Termux — No Root

18 Upvotes

This project, called Mango-termux, allows you to run MangoWM natively in Termux without root access.

GitHub: https://github.com/OceanSt0ne/mango-termux

Requirements:

  1. Adreno GPU (replace your Mesa with custom Freedreno KGSL v27.0.0)

  2. Termux and Termux:X11 apps

    • Current resolution limit: 1024x768 (will try to fix this in the future)

  3. Proot-distro container (for the Noctalia shell)

  4. Some free time (no prebuilt releases yet, requires compiling from source)

If you find this useful, please consider supporting the project with a star ⭐ on GitHub!


r/termux • • 3d ago

Showcase Further the NPU enabling

6 Upvotes

I got GPT6 to smash out a script to use NPU and GPU, one as Bender and one as Fry about what is buzzworthy. The script has been adapted to create some diagnostics, and I will add them to the comments.

https://pastebin.com/raw/CKn6VVQ4 is the script

https://pastebin.com/raw/gURdPF5p is their conversation to 4k CTX.

I will post performance graphs in comments.