Skip to content

Learn how to install Ubuntu on any Android phone without root using Termux. This easy guide shows step-by-step instructions to set up Ubuntu CLI and GUI on Android.

Notifications You must be signed in to change notification settings

Achik-Ahmed/how-to-install-ubuntu-in-android-using-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

How to Install Ubuntu in Android Without Root (Easy Steps)

how to install ubuntu in android

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.

🔗 Read Full Blog Post with Images & Commands

What is Ubuntu?

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.

What You Need

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)

How to Install Ubuntu in Android

Here are the steps to install Ubuntu in android without root:

Install Termux

Download it from F-Droid or GitHub (not from Play Store).

Update Termux

apt update && apt upgrade -y

Install Required Packages

pkg install wget curl proot tar -y

Download Ubuntu Installer Script

Read -the full blog article.sh

Run the Script

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.

How to Use Ubuntu GUI on Android

If you want to use Ubuntu like a desktop with buttons, mouse, etc., follow these steps:

Start Ubuntu

./start-ubuntu22.sh

Start VNC Server

vncserver

Open VNC Viewer App

Set:

  • Address: localhost:5901
  • Name: Ubuntu

Enter the password you set earlier and connect.

Boom! Now you're inside Ubuntu GUI on Android.

How to Stop Ubuntu or GUI

  • Stop GUI:
vncserver -kill :1
  • Exit Ubuntu:
exit

How to Start Again Next Time

Whenever you want to start Ubuntu again:

./start-ubuntu22.sh
vncserver

Then connect using VNC viewer again. Simple!

How to Uninstall Ubuntu

If you want to remove everything:

rm -rf ubuntu22-fs ubuntu22-binds start-ubuntu22.sh ubuntu22-xfce.sh

Done! Everything is cleaned up.

Read Full Article

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!

About

Learn how to install Ubuntu on any Android phone without root using Termux. This easy guide shows step-by-step instructions to set up Ubuntu CLI and GUI on Android.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published