/termux-ubuntu

Ubuntu chroot on termux

Primary LanguageShell

termux-ubuntu

A script to install Ubuntu chroot in Termux

You need to install wget and proot in Termux before using this script.

pkg install wget proot

The script will make its files in the current directory. So if you want your Ubuntu-filesystem at a particular location switch to that folder first and then call the script with it's relative path. Example:

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