Install Ubuntu
Now that Termux is set up, install a full Ubuntu Linux distribution inside it using proot-distro.
Step 1: Install proot-distroโ
pkg install proot-distroTermux will download and install the proot-distro package. You'll see download progress and a confirmation message. The process takes about 30 seconds.
Step 2: Install Ubuntuโ
proot-distro install ubuntuThis downloads the Ubuntu root filesystem (approximately 500MB). You'll see a download progress bar. The entire process takes 3-5 minutes on a typical Wi-Fi connection. When complete, you'll see a message confirming the distribution was installed.
If the download seems slow, make sure you're on Wi-Fi rather than mobile data. The Ubuntu filesystem is a large download.
Step 3: Log into Ubuntuโ
proot-distro login ubuntuYour prompt will change from the Termux $ prompt to a root@localhost:~# prompt. You are now inside a full Ubuntu environment. You can run standard Linux commands like ls, cat, and apt.
Step 4: Update Ubuntu packagesโ
apt update && apt upgrade -yUbuntu will download its package lists and apply any available upgrades. This takes 2-3 minutes. You'll see repository fetching progress and package installation output. When finished, you'll be back at the root prompt with no errors.
Always run apt update && apt upgrade -y after a fresh Ubuntu install to ensure you have the latest security patches and package versions.
Want to understand how proot works and why you don't need root access? See What is proot? in the Learn track.
Learn more about why Ubuntu was chosen and what alternatives exist in What is Ubuntu?.
Next Stepโ
Ubuntu is running โ time to give it a graphical desktop.