Install Ubuntu in Termux Using GitHub – A Step-by-Step Guide
Termux is a powerful terminal emulator for Android that provides a Linux-like environment without root access. Installing Ubuntu in Termux can enhance your Android device’s capabilities, allowing you to run a full-fledged Linux distribution. This guide will show you how to install Ubuntu in Termux using a GitHub script.
Why Install Ubuntu in Termux?
- Use Linux tools on your Android device
- Run programming languages like Python, Ruby, and Node.js
- Host web servers and use SSH
- Learn Linux commands and administration
Prerequisites
- An Android device with Termux installed (available on F-Droid)
- A stable internet connection
- At least 5GB of free storage space
Step 1: Update and Upgrade Termux
pkg update && pkg upgrade -y
Step 2: Install Required Packages
pkg install git -y
Step 3: Clone the Ubuntu Installation Script
We will use a GitHub script to install Ubuntu. Run one of the following commands:
git clone https://github.com/HYDRA-TERMUX/ubuntu-termux
Step 4: Grant Execution Permissions
chmod +x install.sh
Step 5: Run the Installation Script
bash install.sh
Step 6: Start Ubuntu
bash start
You will now be inside an Ubuntu shell. Use the following command to confirm the installation:
lsb_release -a
Step 7: Install Additional Packages
apt update && apt upgrade -y
apt install nano git curl -y
Step 8: Exiting Ubuntu
exit
Click For YouTube Video
Conclusion
Congratulations! You have successfully installed Ubuntu on Termux using a GitHub script. Now you can explore Linux on your Android device, run commands, install packages, and even develop software. Whether you’re a developer, student, or Linux enthusiast, having Ubuntu on Termux is a great way to boost your productivity on the go.
If you found this guide helpful, share it with fellow Linux enthusiasts and let us know your experience in the comments below!