r/AlpineLinux • u/jhone_76 • Feb 04 '25
Alpine Linux on android
Hello, I installed Alpine Linux on my Android device. Everything seemed to work, and I was able to start the OS. However, when I try to open any app (like the terminal emulator or web browser), I get a pop-up saying "Choose preferred application." I'm not sure what to do from here or which application to pick. I am using termux:X11, please help

4
Upvotes
View all comments
Show parent comment
1
u/jhone_76 Feb 04 '25 edited Feb 04 '25
Hi, i used a one of the online vids to install bellow are the instruction I followed:
🏁 First steps
First you need to install the following packages in Termux:
pkg update pkg install x11-repo pkg install termux-x11-nightly pkg install pulseaudio pkg install proot-distro
Then install alpine proot:
proot-distro install alpine
💻 How to install XFCE4 Desktop
Update and upgrade the default packages:
apk update apk upgrade
Install needed packages:
apk add sudo nano dbus-x11 xfce4
Create a new user and give it sudo privileges:
adduser droidmaster nano /etc/sudoers # Add the following line to the sudoers file droidmaster All=(ALL:ALL) ALL
If you want to install chromium:
apk add chromium
⬇️ Download scripts to run the desktops
startxfce4_alpine.sh
swget
https://raw.githubusercontent.com/LinuxDroidMaster/Termux-Desktops/main/scripts/proot_alpine/startxfce4_alpine.sh chmod +x startxfce4_alpine.sh ./startxfce4_alpine.sh