# Termux — Linux Environment and Terminal Emulator for Android > Termux turns any Android device into a portable Linux workstation with a real package manager, shell access, and development toolchain—no root required. ## Install Save as a script file and run: # Termux — Linux Environment and Terminal Emulator for Android ## Quick Use ```bash # Install from F-Droid (recommended) or GitHub Releases # Once installed, open Termux and run: pkg update && pkg upgrade pkg install python nodejs git openssh ``` ## Introduction Termux is an Android terminal emulator and Linux environment that requires no rooting or special setup. It provides a full package ecosystem (via apt/pkg) so developers can run compilers, interpreters, servers, and CLI tools directly on a phone or tablet. ## What Termux Does - Provides a real Linux shell (bash, zsh, fish) on Android without root - Ships a package manager (pkg/apt) with thousands of packages compiled for ARM/aarch64 - Supports SSH server and client for remote access to and from the device - Allows running full development stacks (Python, Node.js, Ruby, Go, Rust, C/C++) - Integrates with Android storage, clipboard, notifications via termux-api add-on ## Architecture Overview Termux runs as a standard Android app with its own private prefix at /data/data/com.termux/files/usr. It bootstraps a minimal Debian-like root filesystem with a cross-compiled package repository. The terminal is rendered via a custom VTE widget, and processes run under the app's Linux user without requiring elevated privileges. ## Self-Hosting & Configuration - Install from F-Droid or GitHub Releases (Google Play version is deprecated) - Configure shell with ~/.bashrc or ~/.zshrc as on any Linux system - Access shared storage with `termux-setup-storage` to link ~/storage to Android folders - Install add-ons: Termux:API (hardware access), Termux:Boot (run at startup), Termux:Widget (shortcuts) - Use termux-services package to manage background daemons (sshd, crond, etc.) ## Key Features - Full apt-compatible package manager with pre-built ARM binaries - Hardware keyboard and touch-friendly UI with extra key row - Supports proot and PRoot-Distro for running full Linux distros (Ubuntu, Arch, Fedora) - Background execution via wake locks and termux-services - Extensible through Tasker integration and bash scripting ## Comparison with Similar Tools - **UserLAnd** — runs full distros via proot but lacks Termux's native package speed - **Andronix** — installs Linux distros on Termux; depends on Termux as the base layer - **JuiceSSH** — SSH client only, no local shell or package management - **iSH (iOS)** — similar concept for iOS using x86 emulation; slower than Termux's native ARM builds ## FAQ **Q: Does Termux require root access?** A: No. It runs entirely in user space under Android's app sandbox. **Q: Why not use the Google Play version?** A: The Play Store version is outdated and no longer receives updates. F-Droid and GitHub Releases provide current builds. **Q: Can I run Docker in Termux?** A: Not directly, since Docker requires kernel features unavailable without root. You can use proot-distro for lightweight container-like isolation. **Q: How do I keep processes running after closing the app?** A: Acquire a wake lock with `termux-wake-lock` or use the Termux:Boot add-on to start services at device boot. ## Sources - https://github.com/termux/termux-app - https://wiki.termux.com --- Source: https://tokrepo.com/en/workflows/asset-33fb90fe Author: Script Depot