Step 1: Install Termux
Before we begin, you need to have Termux installed on your Android device. Termux is a powerful terminal emulator and Linux environment for Android that allows you to install and run Linux applications and packages.
You can download Termux from the Google Play Store or F-Droid. Once you have downloaded and installed Termux, open it and type the following command to update and upgrade the packages:
You can download Termux from the Google Play Store or F-Droid. Once you have downloaded and installed Termux, open it and type the following command to update and upgrade the packages:
apt update && apt upgrade
Step 2: Install proot-distro
proot-distro is a tool that allows you to install and manage multiple Linux distributions on Termux. To install proot-distro, use the following command:
pkg install proot-distro
Step 3: Install Debian
Once proot-distro is installed, you can use it to install Debian on your Android device. Use the following command to install Debian:
This command will download and install the latest stable version of Debian in your Termux environment.
proot-distro install debian
This command will download and install the latest stable version of Debian in your Termux environment.
Step 4: Start Debian
After installing Debian, you can start it by using the following command:
This will launch the Debian shell in your Termux environment, and you can start using Debian commands and applications.
proot-distro login debian
This will launch the Debian shell in your Termux environment, and you can start using Debian commands and applications.
FAQs
Q: What is Debian?
A: Debian is a free and open-source Linux distribution that is widely used by developers, sysadmins, and other tech-savvy users. It is known for its stability, security, and a large collection of packages.
Q: What is proot-distro?
A: proot-distro is a tool that allows you to install and manage multiple Linux distributions on Termux. It uses proot, a userspace implementation of chroot, to create a lightweight and isolated Linux environment within Termux.
Q: What are the benefits of using Debian in Termux?
A: Installing Debian in Termux can be useful for various purposes, such as running Linux applications or experimenting with Linux commands on your Android device. Debian also provides a vast collection of packages and tools that can help you in your development or sysadmin tasks.
Q: Can I install other Linux distributions using proot-distro?
A: Yes, you can use proot-distro to install various other Linux distributions, such as Ubuntu, Fedora, CentOS, and more. You can check the list of available distributions by using the following command:
proot-distro list
Conclusion
Installing Debian in Termux using proot-distro is a straightforward process that can help you run Linux applications and commands on your Android device. With proot-distro, you can also install and manage multiple Linux distributions on your device. Debian provides a vast collection of packages and tools that can be useful for developers, sysadmins, and other tech-savvy users.
Can we get a quick link to uninstall. Will make it easier for people in future.
Ok so worked out you type in “proot-distro help”
Can use commands like
proot-distro remove debian
Or
proot-distro reset debian
Last one puts it back to scratch
Yes you can use these commands to delete and reinstall debian