
- by x32x01 ||
If you’re a Linux enthusiast or a developer who loves working with Ubuntu, you’ll be thrilled to know that you can install and run Ubuntu directly inside Termux - and the best part? You don’t even need root access! 
This simple guide walks you through how to set up Ubuntu on your Android device using Termux in just a few easy steps.
Why Run Ubuntu on Termux?
Running Ubuntu inside Termux gives you the full Linux experience on your Android phone or tablet. You can install packages, compile code, or even run servers - all without rooting your device.
Perfect for programmers, ethical hackers, and learners who want a portable Linux terminal anywhere, anytime.

Installation Steps
Follow these commands carefully in your Termux app:
Step
Step
Step
Step
Step
Step
Clone the Ubuntu Termux installation repository from GitHub:
Step
Step
Step
Step
Once installation is complete, you can launch Ubuntu anytime by typing:
That’s it!
You now have Ubuntu running on your Android device through Termux - no root required.
Useful GitHub Link
MFDGaming/ubuntu-in-termux GitHub Repository
This repository contains all the necessary scripts and documentation to help you install Ubuntu inside Termux seamlessly.
Final Thoughts
Running Ubuntu inside Termux turns your Android into a powerful Linux workstation on the go. Whether you’re coding, testing security tools, or just exploring Linux, this setup gives you the freedom and flexibility you need.
Thank you for reading, and happy hacking!


This simple guide walks you through how to set up Ubuntu on your Android device using Termux in just a few easy steps.

Why Run Ubuntu on Termux?
Running Ubuntu inside Termux gives you the full Linux experience on your Android phone or tablet. You can install packages, compile code, or even run servers - all without rooting your device.Perfect for programmers, ethical hackers, and learners who want a portable Linux terminal anywhere, anytime.


Installation Steps
Follow these commands carefully in your Termux app:Step
- Update Termux
Code:
apt-get update && apt-get upgrade -y
Step
- Install wget
Code:
apt-get install wget -y
Step
- Install proot
Code:
apt-get install proot -y
Step
- Install git
Code:
apt-get install git -y
Step
- Go to Your Home Directory
Code:
cd ~
Step
- Download the Ubuntu Installer Script
Clone the Ubuntu Termux installation repository from GitHub: Code:
git clone https://github.com/MFDGaming/ubuntu-in-termux.git
Step
- Go to the Script Folder
Code:
cd ubuntu-in-termux
Step
- Give Execution Permission
Code:
chmod +x ubuntu.sh
Step
- Run the Ubuntu Installer
Code:
./ubuntu.sh -y
Step
- Start Ubuntu
Once installation is complete, you can launch Ubuntu anytime by typing: Code:
./startubuntu.sh
That’s it!

Useful GitHub Link

This repository contains all the necessary scripts and documentation to help you install Ubuntu inside Termux seamlessly.
Final Thoughts
Running Ubuntu inside Termux turns your Android into a powerful Linux workstation on the go. Whether you’re coding, testing security tools, or just exploring Linux, this setup gives you the freedom and flexibility you need.Thank you for reading, and happy hacking!


Last edited: