How to Install Ubuntu 20.04+ Desktop in Termux using Proot-Distro
Introduction:
Termux, a powerful terminal emulator for Android, allows you to run a Linux environment on your mobile device. With the help of Proot-Distro, you can install Ubuntu 20.04+ and set up a desktop environment within Termux. This guide will walk you through the step-by-step process of installing Ubuntu 20.04+ desktop in Termux using Proot-Distro.
Table of Contents:
- Prerequisites
- Installing Proot-Distro
- Installing Ubuntu 20.04+
- Setting up the Desktop Environment
- Launching the Desktop Environment
- Conclusion
Section 1: Prerequisites
Before we begin, make sure you have the following:
- An Android device with Termux installed.
- A stable internet connection.
- Sufficient storage space on your device.
Installation Steps:
Step 1: Termux update & upgrade
Open Termux and run the following commands to update and upgrade the package lists:
pkg up && pkg upgrade
Step 2: Install Proot-Distro(in termux)
Install the Proot-Distro package by executing the following command:
pkg install proot-distro
Step 3: Install Ubuntu 20.04
Run the following command to install Ubuntu 20.04 using Proot-Distro:
proot-distro install ubuntu
Step 4: Log in to Ubuntu
Log in to the newly installed Ubuntu environment by running the following command:
proot-distro login ubuntu
Step 5: Install the Desktop Environment
To install the LXDE desktop environment, use the following command:
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/LXDE/de-apt-lxde.sh
Step 6: Verify the Installation
"whoami"
Conclusion
Congratulations! You have successfully installed Ubuntu 20.04+Desktop environment in termux using proot-distro on your mobile.
.webp)