Alpine Linux Distro is a very lightweight and fast Linux distribution that you can run inside Termux using proot-distro. It is mainly used for servers, containers, and low-resource systems because it is small and simple, it works very smoothly on Android devices and is perfect for learning Linux basics.
Requirements
Before installing Alpine Linux in Termux, make sure your device meets these basic requirements for smooth performance.
- Processor required: 64-bit CPU (ARM64 recommended)
- Internet data required: Approx 100MB – 200GB
- Free storage required: Minimum 2GB
- Android version required: Android 7.0 or above
- RAM required: Minimum 2GB
- Installation time: Approx 5–20 minutes
Installation Commands
Update Termux and install proot-distro:
pkg update && pkg upgrade && pkg install proot-distro -yInstall Alpine Linux:
proot-distro install alpineLogin to Alpine Linux:
proot-distro login alpineUsage Commands
Start Alpine Linux anytime:
proot-distro login alpineExit Alpine session:
exitRemove Alpine Linux and its data:
proot-distro remove alpineAlpine Linux Basic Commands
These basic commands help you manage Alpine Linux easily inside Termux.
Update package list:
apk updateUpgrade system packages:
apk upgradeInstall a package:
apk add gitRemove a package:
apk del gitCheck system info:
cat /etc/os-releaseList files and folders:
lsCreate a folder:
mkdir foldernameChange directory:
cd foldernameRemove file:
rm filenameRemove folder:
rm -rf foldernameClear terminal screen:
clear