Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 5, 2026·3 min de lecture

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.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Termux
Commande CLI universelle
npx tokrepo install 33fb90fe-485a-11f1-9bc6-00163e2b0d79

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires