Simplest way to get Ubuntu Terminal on Android devices without root.

Dependencies

Download Termux from Play Store. Open Termux from your launcher.


What is Termux

Termux is a terminal emulator and Linux environment for Android, Chromebook, and Fire OS.

Termux is an Android terminal emulator and Linux environment application that works directly with no rooting or setup required. A minimal base system is installed automatically, additional packages are available using the APT package manager.


Install Ubuntu chroot with Termux

Type the following commands in Termux

1
pkg install wget proot

The script will make its files in the current directory. If you want to install Ubuntu-filesystem at a specific location then go to that location and call the script from its relative path.

1
2
3
4
mkdir -p ~/jails/ubuntu
cd ~/jails/ubuntu
wget https://raw.githubusercontent.com/Neo-Oli/termux-ubuntu/master/ubuntu.sh
bash ubuntu.sh

After running it you can run start-ubuntu.sh to switch into your ubuntu.


Thanks to Neo-Oli for making this super cool script !