Debian in Termux – Installation, Usage & Basic Commands

Debian is a stable and lightweight Linux distribution that you can run inside Termux without root using proot-distro. It is known for its reliability and huge software repository. Debian is a great choice for beginners as well as advanced users who want a clean and fast Linux environment on Android.

Requirements

Before installing Debian in Termux, make sure your device meets these basic requirements for smooth performance.

  • Processor required: 64-bit CPU (ARM64 recommended).
  • Internet data required: Approx 1GB – 2GB.
  • Free storage required: Minimum 4GB.
  • Android version required: Android 7.0 or above.
  • RAM required: Minimum 2GB.
  • Installation time: Approx 10–25 minutes.

Installation Commands

Update Termux and install required packages:

pkg update && pkg upgrade && pkg install proot-distro -y

List available distros:

proot-distro list

Install Debian:

proot-distro install debian

Login to Debian:

proot-distro login debian

Usage Commands

Start Debian anytime:

proot-distro login debian

Exit Debian session:

exit

Remove Debian and its data (if needed):

proot-distro remove debian

Debian Basic Commands

Debian basic commands help you manage files, install tools, and navigate the system easily inside Termux.

Update system packages:

apt update && apt upgrade -y

Install a package:

apt install git -y

Check Debian version:

cat /etc/os-release

Show current user:

whoami

List files and folders:

ls

Create a folder:

mkdir foldername

Change directory:

cd foldername

Remove file:

rm filename

Remove folder:

rm -rf foldername

Check disk usage:

df -h

Clear terminal screen:

clear
SHARE THIS POST: