How to Install Alpine Linux
Alpine Linux is a lightweight Linux distribution built around musl libc and busybox. It is designed to be smaller and more resource-efficient compared to traditional GNU/Linux distributions. A container using Alpine Linux requires no more than 8 MB, and a minimal installation to disk only requires around 130 MB of storage.
Supported Platforms
- x86
- x86-64
- ARMhf
- AArch64
Package Manager: APK
Requirements
- Termux App
- Android OS
- 100.00 MB Data
- 5 MB Phone Storage
Steps for Installation
- Go to the home directory:
cd $HOME - Update and upgrade packages, and install curl:
pkg up && pkg upgrade && pkg install curl - Get the installation script:
curl -LO https://raw.githubusercontent.com/Hax4us/TermuxAlpine/master/TermuxAlpine.sh - Execute the script:
bash TermuxAlpine.sh - Start Alpine:
startalpine
To exit Alpine, execute: exit
Steps for First Time Use (Recommended)
- Update Alpine:
apk update - Now you can install any package using:
apk add package_name
Warning: Do not use apt-get, use apk instead. Alpine Linux does not support apt-get; it uses the apk package manager.
Installation Screenshot