A simple Bash script for managing Proot distributions in Termux. This script provides an easy way to install, remove, login, and manage persistent directory bindings for chroot-based Linux distributions using Termux's proot-distro
.
-
List available distributions.
-
Install and remove distributions.
-
Login into distributions with persistent directory bindings.
-
Bind and unbind directories to/from distributions.
-
View current bindings for a distribution.
Ensure that Termux and the following packages are installed:
proot
proot-distro
You can install them using: pkg install proot proot-distro
- Clone this repository or download the script.
git clone https://github.com/NiDrZero/Termux-Distro-Manager.git
- Make the script executable:
chmod +x distro_manager.sh
- Run the script:
./distro_manager.sh
-
Provided As-Is: This script is provided without any guarantees or warranties. Use at your own risk.
-
No Support for Root Access: This script uses Proot, which does not provide real root access or privilege escalation.
-
Compatibility: Designed for Termux on Android devices.
This project is licensed under the MIT License. See the LICENSE file for details.
- Termux Wiki: https://wiki.termux.com/wiki/PRoot for detailed information on Proot and Proot-Distro.
- Proot-Distro GitHub Repository: https://github.com/termux/proot-distro for managing Linux distributions in Termux.