Documentation and testing of programs, applications, and uses of the Linux environment in Android using Termux. This project supports both root users with Chroot Linux and non-root users with Proot Linux.
Explore the documentation for different setup methods:
- Native Termux Desktop - Run Linux desktop environments directly in Termux.
- Chroot Linux Desktop - High-performance Linux environment (Requires Root).
- SSH Configuration - Remote access from your PC.
- Audio Configuration - Set up PulseAudio for both Chroot and Proot.
- Fix Process Killing - Prevent Android from closing Termux unexpectedly.
Before starting, ensure you have the following installed on your Android device:
- Termux: Download from the Termux GitHub repository (Check the Releases section). Avoid the Play Store version as it is outdated.
- Termux:X11: Download from the Termux:X11 GitHub repository in the Releases section.
- Basic Tools: Install these inside Termux:
pkg install git wget nano
Termux is a terminal emulator and Linux environment for Android that provides a powerful CLI and package management system.
Termux:X11 is an application and Termux package that provides a graphical environment for running X11-based applications with high performance.
If Termux:X11 is getting killed by Android, you need to apply some system fixes. This is recommended for Desktop environments, SSH, and any background tasks.
See the Fixes Guide for automated scripts and instructions.
This documentation is inspired and based on the following projects: