Arch Linux on your Android phone

Running Arch Linux on Android provides a full Linux experience on mobile, allowing you to use Linux tools, utilities, and scripts directly on your phone.

Why Install Arch Linux on Android?

Download and install Termux from the Google Play Store or F-Droid. Termux provides a Linux-like environment that supports package management, essential for installing Arch Linux.

Install Termux

Open Termux and install proot and wget by running pkg install proot wget. These tools enable root filesystem emulation and are necessary for Arch Linux.

Install proot and wget in Termux

Use wget to download the Arch installer by running wget https://raw.githubusercontent.com/TermuxArch/TermuxArch/master/setupTermuxArch.sh. This script sets up Arch Linux within Termux.

Download the Arch Linux Installer Script

Make the script executable with chmod +x setupTermuxArch.sh and then run it with ./setupTermuxArch.sh. Follow the prompts to complete the Arch Linux installation.

Run the Installer Script

Start Arch Linux by running startarch in Termux. You’re now in a fully functional Arch Linux environment, ready to install packages and explore Linux on Android.

Launch Arch Linux