Ubuntu on Android! How To Install Ubuntu on Android Without Root (2019)

Hello guys in this tutorial I am going to show you how to install Ubuntu operating system on your Android Phone. so guys if you want to install Ubuntu on your Android phone without root, so read this article till the end.

Many people ask me about how to install Ubuntu on Android phone. so guys in this tutorial I am going to show you step by step method, easy method and without root method to install Ubuntu on Android phone.. so follow all the steps properly then you will install Ubuntu on Android phone without root easily.

so let’s start. This article is all about how to install Ubuntu on android without root. So guys first you need to meet some requirements.

Requirements To Install Ubuntu on Android Without Root:

Page Contents

1. Download and install termux application on your Android phone. Download from the Play Store or from the above link.

2. Download and install a VNC viewer application. Download from Google Play Store or from the above link.

3. Download my Ubuntu commands text file from the given link. open it with any text editor application.

Ubuntu on Android! How To Install Ubuntu on Android Without Root (2019)

Ubuntu on Android! How To Install Ubuntu on Android Without Root (2020):

1. First of all open termux application. it will load some packages and upgrade your stermux supplication while first time. so please wait for a while.


Read More – How To Install Kali Linux On Android Without Root (Full Version)


2. After complete termux processing now we are ready to run some commands. So just copy my first command from Ubuntu commands text file and paste it into termux application. Press enter.

apt update && apt upgrade

It will update your termux application packages. it will upgrade your termux application. this process is required for installing Ubuntu on your Android Phone.

It will ask for yes or no so press y for (yes) and enter. It will take 2 to 3 minutes to complete.

3. Now your packages and your termux application is upgraded. now just run the second command from my commands text file. it will install Ubuntu packages on your termux application.

pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh

Just wait for 5 to 10 minutes to install Ubuntu packages with the second command.

4. Now your Ubuntu packages are installed properly after 10 minutes. now we need to run ls command to show your packages. Then you will see start-kali.sh.

we need to run this file so go to my commands text file and copy and paste third command and press enter. It will start your Ubuntu machine terminal.


5. Guys, now you can run all Ubuntu commands in your terminal. but we want to install Ubuntu desktop, it means GUI interface on our Android Phone.

so uys just go to my commands text file and copy the fourth command and paste it in the terminal.

wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh

Press enter. It will take 30 to 40 minutes to complete. it will download all GUI environment on your Android phone with VNC support.

7. After all complete. it will ask you for a set password to your VNC Server. Set 6 to 8 characters as a password and press enter.

Done now your terminal part is over. Minimize your termux application. open VNC viewer application.

8. Click on the plus icon to create a profile. it will ask for an IP address and machine name. so put localhost:1 in IP address and put any name for your machine. Click on done.

Now it will ask for a password so put your terminal password into that box and click on continue it will automatically connect your Ubuntu desktop with your VNC viewer software. 

that’s it. now you can run & install any packages with Desktop Environment on your Android Phone.

Uninstall Ubuntu From Android :

If you guys want to Uninstall Ubuntu From Android, follow these steps.

(1) Open termux application. Then go to Localhost mode for that enter this command.


(2) Press enter. Now you need to put uninstall command to uninstall Ubuntu from Android.

wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Uninstaller/Kali/UNI-kali.sh && bash UNI-kali.shwget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Uninstaller/Ubuntu/UNI-ubuntu.sh && bash UNI-ubuntu.sh

FAQs :

Q.1: How we can access Localhost again after exit the termux app?

Answer: Open termux app. Enter this command & press enter.


Q.2: get a port error in VNC viewer what can I do?

Answer: follow the steps.

(1) close termux app from the recent app also.

(2) open termux app again. Type


Press enter.

Now type


Press enter.

Now again type


It will restart your VNC. After that go to event viewer app delete your old machine. Create a new machine using localhost:1 with the same password. Done.

Q.3: Commands showing an error?

Answer: Download my Ubuntu text file from the above link. Because sometimes when we copy Commands from the website it’s got an error. Copy from a text file. It will work fine.

Q.4: This trick will work on non-rooted device?

Answer: Yes you can.


Credits :

All cammands taken from AnLinux : Run Linux On Android Without Root Access App.

Watch YouTube Video Tutorial.

Thank you so much for reading, Ubuntu on Android! How To Install Ubuntu on Android Without Root (2019).

How useful was this post?

Click on a star to rate it!

Average rating 3 / 5. Vote count: 1

No votes so far! Be the first to rate this post.


  1. Cant do uninstall
    Getting this error massage:
    “chmod: cannot access ‘ubuntu-fs’ : No such file or directory”

    Please advice


    • wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Uninstaller/Ubuntu/UNI-ubuntu.sh && bash UNI-ubuntu.sh

      👆 Put this code and enter.

  2. hey mahesh, thanks for your tutorial
    i can install the ubuntu. but how is this
    1. why i can’t open the browser in ubuntu (failed to execute default web browser input/output error)
    2. how i can install my program with .debian format i download in my phone ?
    thankyou im waiting your reply

Leave a Reply