Hellow friends ,are you thinking to run ubuntu on your Android device? Yes it's possible in this tutorial I will explain how we can install and run ubuntu on Android.
How to install and use ubuntu in termux
To install Ubuntu in termux use the following commands carefully to avoid any error.
i am assuming that you have installed termux application on your Android device.if not, install it from Google play store or F-droid.
Then use the following commands
1.apt-get update
2.apt-get upgrade
3.pkg install proot-distro
4.proot-distro install Ubuntu
Then successfully ubuntu will be installed on your Android device.To run ubuntu use the command 👇
proot-distro login ubuntu
Then your working directory will be ubuntu.
How to logout from ubuntu
After login to ubuntu, if you want to logout use the simple command
exit
Or
CNTRL+C
How to launch ubuntu using a simple command in termux
Instead of proot-distro login ubuntu you can use the simple command ubuntu on Termux to launch ubuntu.But before that you have to do some changes on Termux.
Use the following commands
1.pkg install vim
2.cd ~
3.cd /data/data/com.termux/files/usr/bin
4.echo 'proot-distro login ubuntu'>ubuntu
5.chmod +x ubuntu
Then simply type ubuntu and hit enter on Termux and see the magic.
0 Comments