Hey there! Did you know that you can install and run Ubuntu on your Android phone without rooting it? Well, the answer is YES! You can install and use Ubuntu on your Android just like a mini-computer, and the best part is you need to root your Android phone.
In this post, I will share how you can install Ubuntu 22 on your Android phone using Termux, and also how to use the Ubuntu GUI like a real desktop with the help of the VNC Viewer app.
Ubuntu is a free and powerful Linux operating system. It’s used by developers, hackers, students, and even companies. Now you can use it on your Android phone too — without any special tricks, just with some simple steps.
Before installing Ubuntu, make sure you have these:
- Android Phone (Android 7.0 or above)
- At least 5 GB Free Storage
- At least 2 GB RAM (4 GB recommended)
- Good Internet Connection (1–2 GB data needed)
- Termux latest App (from F-Droid or GitHub)
- VNC Viewer App (for GUI interface — optional)
Here are the steps to install Ubuntu in android without root:
Download it from F-Droid or GitHub (not from Play Store).
apt update && apt upgrade -y
pkg install wget curl proot tar -y
Read -the full blog article.sh
chmod +x ubuntu22-xfce.sh && bash ubuntu22-xfce.sh
During setup, set a 6-digit VNC password when asked.
That’s it! Ubuntu will now install. Wait patiently.
If you want to use Ubuntu like a desktop with buttons, mouse, etc., follow these steps:
./start-ubuntu22.sh
vncserver
Set:
- Address:
localhost:5901
- Name:
Ubuntu
Enter the password you set earlier and connect.
Boom! Now you're inside Ubuntu GUI on Android.
- Stop GUI:
vncserver -kill :1
- Exit Ubuntu:
exit
Whenever you want to start Ubuntu again:
./start-ubuntu22.sh
vncserver
Then connect using VNC viewer again. Simple!
If you want to remove everything:
rm -rf ubuntu22-fs ubuntu22-binds start-ubuntu22.sh ubuntu22-xfce.sh
Done! Everything is cleaned up.
To get detailed steps with pictures, commands, and setup screenshots, check out the full blog post Read Here
Thanks for reading! If you like it, don’t forget to ⭐ this repo and explore more tools on my blog!