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.
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.
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.
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.
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.
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.