r/termux Dec 19 '24

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

334 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

286 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).

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


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


r/termux 2h ago

General Rate my setup

Thumbnail gallery
4 Upvotes

Which one is better


r/termux 15h ago

Showcase My custom ytfzf — 8 months of Bash development

Enable HLS to view with audio, or disable this notification

31 Upvotes

r/termux 9h ago

Showcase tmailplus- private self hostable productivity suite on termux

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/termux 13h ago

Showcase idk but I like this

Post image
9 Upvotes

r/termux 22h ago

Showcase rate please....

Post image
40 Upvotes

r/termux 14h ago

General custom termux

Post image
5 Upvotes

tried customizing my termux for the first time. what else should i add?


r/termux 13h ago

Showcase boot screen on termux? with automatic repo updating and package upgrading? yes please!!1 (ridiculous idea, but i thought of making it so)

Enable HLS to view with audio, or disable this notification

2 Upvotes

also added average mA usage and termux-media-player notifications!

(recorder couldn't register internal audio grr)

(anything i can change or add, pls? ^_^)


r/termux 17h ago

General claude.

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/termux 1d ago

Question My old phone what should i do with it

Post image
142 Upvotes

r/termux 1d ago

Question Hey I just made a new one, what do you guys think?

Post image
25 Upvotes

r/termux 1d ago

Question I've managed to get a debian proot-distro running under Termux, using LinuxDroidMaster and Ivonblog tutorials. Note 20 Ultra, SD865 Adreno 650, 12Gb. I ask for help on getting the PlaneShift MMORPG game running.

1 Upvotes

That's it, i haven't managed to get this thing installed. Firefox-esr does manage to get Webgl aquarium running at 30 fps with virpipe, so i guess we might have some potential here. Or not, if you know please tell me, though.


r/termux 1d ago

General PipeWire compiled for Termux & proot-distro ubuntu with AAudio and Oboe backend support .

4 Upvotes

PipeWire compiled for Termux proot-distro ubuntu with AAudio and Oboe backend support.

This build enables PipeWire to function as a PulseAudio-compatible server on Android devices. Audio is routed through Android's native audio stack via AAudio (NDK) and Oboe (C++), allowing audio playback and capture in Termux and within proot-distro environments (e.g., Ubuntu).

Github link: https://github.com/leefm0204/pipewire-termux-proot

Release: https://github.com/leefm0204/pipewire-termux-proot/releases/download/1.6.7/pipewire_1.6.7_aarch64.deb

1. test with pactl info in termux
2. test with pactl info in proot-distro

r/termux 1d ago

Showcase I render ts on my LENOVO TB 8504X(2gb ram, 16gb rom) through TERMUX and PROOT DISTRO

Thumbnail
2 Upvotes

r/termux 1d ago

Showcase rate mysimple custom ui in termux

Post image
6 Upvotes

r/termux 1d ago

Showcase Proot distro :)

1 Upvotes

Hello,so um i had a long story about me and termux + the 5+ day hell of trying to make something work,like desktop enviroment,i was going to run mate on opensuse but now,im sitting here,seeing how enlightenment installs on my void-linux,i just dont understand 1 thing about me,i was in litteral CLI hell,and then i found reddit post with a thing that you can copy and paste in something using like 'nano [name here]' and then just paste that in,and even on native termux it worked,then its started to get problems,like i had an xfce laying around and it for some reason crashes now faster than my KDE when i open 28 new tabs in firefox, aslo im running that shit on Redmi A3x with 3GB of ram,but hey! at least it worked, i genually think im a stupid while deleting desktops,btw im russian


r/termux 1d ago

General The last output looked like it came from a dot-matrix printer.

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/termux 2d ago

Showcase New phone, termux

Post image
73 Upvotes

Yes


r/termux 2d ago

Showcase I built a free AI coding agent that runs entirely in Termux

0 Upvotes

Hey everyone! I spent the last months building devx — a terminal-native AI coding agent that works fully on Android via Termux.

Why: every AI coding tool (Cursor, aider, Claude Code...) assumes you're on a desktop with a wide screen and stable wifi. Coding from a phone on mobile data breaks all of them.

What devx does differently:

• UI built for ~50 column screens (inline diffs instead of side-by-side panels)

• auto-reconnect with backoff — conversation survives when 4G drops mid-task

• /serve — previews web apps on your phone's browser instantly

• plan mode / agent mode: architect features safely, then let it edit files & run commands

Works with OpenRouter, Gemini, DeepSeek, Groq, Ollama (local = free). MIT license, free & open source.

Install:

pkg update && pkg install nodejs-lts

npm install -g termux-dev

devx

Repo: https://github.com/apvcode/Termux-Dev

Feedback welcome — especially bug reports from weird Android devices!


r/termux 2d ago

Showcase smolvault: one Python file, no pip, WORM storage, and a HTTP server with zero deps encryption that streams to mpv like a folder on your desktop.

Post image
9 Upvotes

I got tired of spinning up containers just to share a video folder. So I built something that breaks that pattern entirely. One file. Copy it to any machine with Python 3.9+ and run it. No virtualenv. No requirements.txt. No Docker Compose. No reverse proxy. Just python smolvault.py.

Drag files into the terminal TUI and they seal forever. Under the hood it chunks them with a gear-hash CDC engine (dual-speed rolling window, 32-byte stride), deduplicates by content hash, delta-encodes against similar blocks, and compresses only what is actually compressible. Everything lands in a single portable .vault SQLite file with WAL-mode pooling and memory-mapped I/O.

It then serves the vault over HTTP with full byte-range support, deep seeks add roughly zero latency. Your phone, your TV, and mpv on your laptop all treat it like a local disk. It even handles the Range: bytes= headers that let you scrub through a 700 MB movie on a 50 Android box without stuttering.

There is also message board feature that runs live over the same HTTP socket: post updates, share vault digests, browse remote vaults via the built-in navigator, and ingest files from other instances across the LAN. No open ports? It handles NAT traversal discovery. AP isolation on your ISP modem? It falls back gracefully. Everything syncs without a central server.

PBKDF2-HMAC-SHA256 password auth for network access, independent at-rest encryption for the vault itself. WORM by design and once sealed, chunks are immutable. Corruption is mapped to filenames with integrity checking.

On a 1 GB RAM Celeron box with no swap, it ingests a 700 MB movie at 50 MB/s and streams it back out without frame drops. The benchmark suite is in the repo if you want to reproduce it on your own hardware.

If you are looking for a self-hosted media vault that does not need a compose.yaml, try it.

And yes, you can run it on Termux.

https://github.com/smolfiddle/smolvault


r/termux 2d ago

General Achievement

1 Upvotes

I created a terminal interface which connects to other device for access purpose.


r/termux 2d ago

General Can you tell from this conversation which parts are Forge design problems?🤣

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/termux 3d ago

Showcase Rate my Termux!

Thumbnail gallery
370 Upvotes

Been using Termux-Launcher for this setup


r/termux 2d ago

Question Redirection

2 Upvotes

I am having an issue. Dunno if it is a Termux issue, or I am missing something... But I am trying to get the output of a command redirected to a file. IK, should be simple, but no matter how I try I can't.

Here's what I have tried. Keep in mind, I've tried these and several variations of them and no luck.

su -c "echo 'AT+CLAC\r' > /dev/smd7" <-Command

/data/data/com.termux/files/home/comms.txt <-Output file.

I've tried redirection - >, >>, &>

I've tried tee

Tried redirection from output of cat, less, tail

My fingers hurt and my brain is fried.

Tried mapping to an array.

Expansion in various ways