Video Guide:- YouTube
Termux natively supports a limited selection of applications. However, with this script, you can extend Termux's capabilities by integrating applications from other Linux distributions using a Distro Container. The best part? There’s no need to log in to the Proot-based distro to access these apps; they seamlessly integrate into Termux, appearing in its desktop app menu and launching directly from the Termux terminal.
- Expand Termux’s App Ecosystem: Install additional applications from various Linux distributions into Termux.
- Integrated Access: Run installed apps directly in Termux without needing to log in to the Proot distro.
- Desktop Menu Integration: Applications can be added to the Termux desktop app menu for easy access.
-
Run the Installer Script:
- When prompted about setting up a Distro Container, type
y
to continue.
- When prompted about setting up a Distro Container, type
-
Select a Distribution:
- Choose a distribution from the list provided by typing the corresponding number. The script will handle the installation and configuration.
-
Set Up a User Account:
- It is recommended to create a user account during setup. Once complete, you’re ready to use the container.
If you’ve installed an app in your distro (e.g., Debian) and want to run it directly from Termux, use the following command:
pdrun <package-name>
Example: To run LibreOffice, type:
pdrun libreoffice
You can add installed applications to the Termux desktop menu for quick access in two ways:
-
Using the Terminal Command:
- Type
add2menu
in the terminal, and select the app you want to add.
- Type
-
Using the “Add to Menu” App:
- Open the
Add to Menu
app from Termux, and choose the application you want to add.
- Open the
Once added, the app will appear in the Termux desktop menu.
For a faster setup, use the following command to install an app and add it to the Termux menu simultaneously:
<Distro-Name> install <package-name>
Example: To install and add LibreOffice in Debian, type:
debian install libreoffice
If this method doesn’t work for any reason, you can manually add the app to the menu using the steps outlined above.
-
Log in as a Regular User:
- Type the name of the installed distribution, e.g.,
debian
, to log in.
- Type the name of the installed distribution, e.g.,
-
Log in as Root:
- Use the
--root
or-r
flag to log in as root:
debian --root
- Use the
-
Remove the Distro:
- To uninstall the distribution and remove all related files, use:
debian --remove
-
Show Help:
- Display help information for the distribution with:
debian --help