donât mind the thumbnail. just a big james lee fan :3c
Talking about Alpine
Alpine is a very interesting distro. And also different from the rest. No systemd, instead it uses OpenRC, musl C library instead of glibc and busybox instead of GNU. It can be used for various different things, like as a webserver, in embedded systems and IoT devices, containers and even as a minimal and lightweight desktop OS. If you donât do much on your computer, or you want to make an old and slow computer somewhat usable, itâs not a bad choice since they provide 32-bit x86 ISOs.
Installing Alpine is pretty simple, and a desktop is even easier, but their wiki⌠isnât the greatest in terms of layouts, and thereâs a lot of information that a regular desktop user wouldnât really care about since again, Alpine linux is really meant to be used in servers, embedded devices etc.
This post will guide you to installing and configure a basic desktop environment in Alpine Linux.
Some things to note before starting
Alpine uses itâs own package manager called apk. The way you install packaged is a bit unusual, youâre not installing them, but instead âaddingâ them.
Some basic commands:
doas apk add <package-name> to install package(s),
doas apk del <package-name> to remove package(s),
doas apk update && doas apk upgrade to update the system and
apk search <package-name> to search for package(s).
Oh yeah, since Alpine is aiming to be simple and minimal, no sudo here! It uses doas which is a minimal alternative to sudo. Of course you can create an alias if you canât get used to typing doas instead of sudo, but you can also install the doas-sudo-shim package to run sudo-like commands using doas.
Alpine uses OpenRC instead of systemd, which as you couldâve guessed is a minimal init system compared to systemd. An excellent choice for a distro like Alpine. OpenRC is also used in Gentoo aswell.
Hereâs a list of basic commands that you should know:
doas rc-service <service> start to start a service,
doas rc-service <service> stop to stop a service,
doas rc-update add <service> default to start the service at startup, and
doas rc-update del <service> default to prevent the service from running at startup.
Installing Alpine
â ď¸ If youâre using an NVIDIA GPU, youâre basically stuck with using open source drivers which are terrible. If youâre using something like a GT 1030, youâd be fine with desktop graphics and video playback but anything more and youâre gonna suffer. Like suffer a lot.
Head over to the Alpine linux website and download the âstandardâ ISO. Note the ISO size
Either burn it to a USB flash drive and boot it on real hardware or boot it from a VM.

It should boot in under 10 seconds.
From here, we need to login. Just login as root. There is no password for the root user.
Afterwards, run the setup-alpine script and follow the instructions the installer prompts you. On most prompts you just have to press Enter since the defaults are good enough.
âšď¸ I canât provide instructions on getting connected to a Wi-Fi network. Just type in the name of the wireless interface when youâre asked for a network interface and connect to a Wi-Fi network.

Oh and make sure when putting in your timezone to put the / as the last character if it shows as such in the list, otherwise you might break something.

When youâre asked about the mirrors, first type in c to enable the community repository, then type f to use the fastest mirror available, or just use the default option given.
After selecting mirrors, enter a username for a user when prompted.
You will also be asked if you want to install a SSH server on the system. I chose not to since i never use SSH on real hardware and i donât need one in a temporary VM.
Afterwards you will be asked what disk to install Alpine onto. Simply type in the name of it in the list, then type in sys for how you want it to be used.
Finally, answer y to erase the drive and install Alpine.
The installation process should take around 10 seconds, and once itâs done, just reboot the system.
Getting a desktop setup
Once rebooted, login as the root user so you donât have to use âdoasâ, and type in setup-desktop. You can choose whatever desktop you like. Iâm gonna pick GNOME because :3c
After installing a desktop, i highly advise to follow additional steps on the wiki for your desktop in case you want to add features that are missing from the install, like a video driver for your specific GPU (apk search xf86-video) and also input drivers (apk search xf86-input)
Make sure that networkmanager, dbus, elogind and a display manager are enabled in OpenRC and that dhcpcd is disabled on startup since we wonât need it anymore.
You should also check if any packages are missing (like pipewire, pipewire-pulse and wireplumber, a file manager, terminal and web browser) and should install them now.
âšď¸ It is possible that some desktop choices donât use NetworkManager and instead use dhcpcd for connecting to the internet. In that case, install NetworkManager and a applet if needed and enable it on startup and disable dchpcd.
If youâre connecting via Wi-Fi, follow these instructions to make sure NetworkManager can connect to Wi-Fi.
You should also copy over default pipewire and wireplumber configs:
|
|
Finally restart to see if youâve done everything correctly.

yippiiiieeeeeeeee đ

And on the desktop! Nice.

what
Anyways, from here you can configure the desktop to your liking and also install Flatpaks in order to use proprietary software like Steam and Discord. They have detailed instructions on getting Flatpaks setup and configured on the wiki.
Also a firewall, NEVER forget to install a firewall.

Yeah, unfortunately no GUFW, so you basically have to set up UFW from the CLI which isnât a painful process:
|
|
Wrapping up
Thatâs basically it. Thereâs not much that you can do on Alpine besides use it as a minimal desktop distro. There arenât a lot of packages at your disposal so you pretty much have to rely on Flatpaks, and if you want to use, nix aswell.
If i used Alpine more iâd definitely have more to say about it but since i have an NVIDIA GPU, i really canât do much.
Definitely recommend it on a low-end computer especially since it has 32-bit ISOs and is very fast and minimal.
Any other info you need to know about the distro can be found on their wiki which in my opinion, itâs a great site for knowing how to do stuff on Alpine, but the installation guide is so bloated with information that sysadmins/sysops only care about. Thatâs why i wrote this guide in the first place.
please send me an email if you encounter an oddity in the guide or you hit some weird and arbitrary roadblock.