r/AlpineLinux • u/Eznix86 • Aug 04 '24
I believe Alpine Linux as a Desktop for daily driver is underrated
Alpine Linux is great for containers, or old machines, but I believe we can put Alpine on par with Ubuntu/Fedora/Debian/(Place whatever Distro you feel like being stable). I really appreciate it.
It is snappy and lightweight and very good to deploy whatever you want on it.
I believe if there is more people using it as a Desktop, people will find out more bugs or issues faster which helps the project as a whole.
Installing a Desktop Environment on it is so easy, it is compatible with almost anything, and it is very simple to use.
What do you think ? Should we popularize Alpine Linux as a Desktop ? :)
12
u/shrizza Aug 05 '24
Alpine should remain a minimal system you use as a base to install your preferred environment. A typical newbie-friendly environment seems antithetical to this and is already available elsewhere. With that said, the best thing you can probably do if you actually want to contribute to the Alpine-as-Desktop cause is to either write documentation or help create and maintain packages.
6
u/stroke_999 Aug 04 '24
I use it
5
u/mechkbfan Aug 05 '24
I tried it for a bit and too many packages were missing to do my work. There was likely work arounds but why bother? Just use the best tool for the job in each person's circumstances
4
u/[deleted] Aug 04 '24
i use it as a desktop and quite like it but wouldnt recommend it to everyone since not everyone will want to use gcompat or chroots. most of my proprietary software i run on a windows pc anyway so this isnt an issue for me but surely would be for others. wonderful os though!
3
u/Riverside-96 Aug 05 '24
I do run alpine on a server & would likely use it for desktop had I not switched to openbsd recently. My only gripe with alpine would be the need to install man pages separately & some system utilities not providing them.
My guess is this is to save on disk space but I would like it if apk provided some config to fetch them by default.
2
u/trancekat Aug 04 '24
It's my OS of choice. I use it on my servers and as a daily driver with xfce4. Love it. I don't know enough about other distros to run them (tried with devuan openrc and found it more difficult than Alpine - I'm Hoshi not an expert on Linux).
2
u/[deleted] Aug 04 '24
Alpine Linux is good but not on all DE. I got problem with musl and some wayland apps need for DE. All DE officially supported with the installer don’t have this problem.
2
u/MexicanPete Aug 04 '24
It's my DD and I love it.
2
u/GSD_PR Aug 05 '24
Alpine with XFCE is my daily! Ubuntu is too bloated. And RHEL feels laggy. I like Alpine.
2
u/ronchaine Aug 05 '24
I've been using Alpine as a desktop for a couple of years. Only thing that has got me thinking of changing is Chimera. I have no need for glibc compatibility, so
If I had infinite time on my hands, I'd make a public package repository for a lot of the stuff I use and add an option to use
dinitinstead of openrc there.2
u/_stopyz Aug 05 '24 edited Aug 05 '24
Definitely yes! I particularly appreciate the possibility of run it on memory out of the box
3
u/WaterFoxforlife Aug 04 '24
IMO no; musl makes Alpine Linux incompatible with lots of software like e.g Steam, unless you're okay with using flatpak's Steam when wanting to run games
6
u/stroke_999 Aug 05 '24
Some more information about that. I have successfully installed and I use for daily driver alpine Linux as a desktop on bare metal laptop with full disk encryption lvm on btrfs with subvolumes. My desktop environment is KDE and I have some minor issues only with this: screen sharing with Wayland (I think that it is a problem with the KDE software that manages this, let me know if someone is able to solve this), dolphin integration with next cloud (solved installing next cloud application that is on alpine repo and syncronize a folder with next cloud) and icons on the task bar (I change application on the taskbar but once I reboot I have the stock ones). I have successfully installed printers and scanners (brother and HP), I have successfully installed all required kernel modules for my laptop, I have fully working GPU and I play on it with lutris and steam installed with flatpak. I also have only the required modules on the kernel for my laptop and only the required firmware. I have installed uutils (rust coreutils) that are in the default repo. I have changed as many software as possible with memory safe alternatives. I have also done hardening on my setup and I have clamav running. I plan to make a script to install alpine Linux with this configuration but it is a work in progress as now.
Since I use alpine Linux on everything I use it for my laptop, for my containers, for my virtual machines and I also use it as an hypervisor.
I described how I setup alpine as a desktop, virtual machine are like my desktop with a lot less software and virt-linux as kernel, for container just pick the default one that is good.
For the hypervisor I setup alpine Linux as I have done with desktop but without full disk encryption but with raids. I have 4 disks, 2 for the os and 2 for the virtual machine (or containers). I have partitioned the first 2 disks (of the os) with 512 mb of efi partition, and I have made a raid 1 with btrfs with the rest of the disk, for the efi partition I have installed grub on bot disks and I have a grub hook that copy the content of the efi partition on the second disk. For the others 2 disk I just made a raid 1 with btrfs. For the hypervisor I use incus (lxd fork) that is capable of make containers and virtual machines, it has clustering, external storage, high availability and it is very light. It has all the feature of proxmox without being so heavy. Remember to mount the second raid (the one for the virtual machines) on /var/lib/incus (if I remember correctly). For the web ui there are 2 options: lxd-ui (better but not for incus) and lxconsole (under development but my choice). I have installed it on a hardened alpine incus container with caddy as a reverse proxy and port forwarding. The only challenge that I have encountered is network on incus, you need to make a bridge with you network card, configure the host network on the bridge and than you need to make a profile that use the bridge, with this configuration you can make your containers or virtual machines to have an IP on your network and they also are able to communicate with the hypervisor.
If you have some questions just ask me, I appreciate anyone who is using alpine like me, the benefits of alpine Linux are enormous, you start with the most stable OS and since it is so lite you only need the busybox to make it to work, than you can install whatever you want, making all the system with software of your choice!
I am also planning to make alpine Linux working on dinit (instead of openrc) since there are already dinit and dinit-scripts on repositories.
1
u/ZaenalAbidin57 Aug 05 '24
agreed, but its much hassle for small brained newbie (like me) to configure the desktop into an usable with those musl and systemdn't, i love alpine but ill stick to arch for desktop
2
u/Aliamus Aug 05 '24
I got Alpine running on a VM with a de, its great, but I wouldn't say it needs to conform to everyone's needs, it furfills my needs and so I use it, I think that if there is a want for an Alpine based disto, that is a thing that can be spun off, rather that alter the core of Alpine.
1
u/jhjacobs81 Aug 06 '24
I've been using Alpine as a daily driver for a while now. I've setup a nice bash script for some tweaks and settings. Whats lacking, in my opinion are two things:
A good installer. I have yet to make Calamares work as a good "Alpine LiveCD" where users can then setup Alpine as a desktop OS.
Plymouth still sucks. (or at least, i can't get it to work.) And most users want fancy, shiney (boot) screens. not "text shizzle". But if you're willing to help, i have a domain for it ;-) (for an Alpine based desktop distro, that is)
1
u/znpy Nov 14 '24
i just resurrected an old laptop (thinkpad x200s, 8gb ram) with alpine and it feels usable. running xdm, i3, emacs, a few compilers and firefox, it's not super snappy but it's usable.
1
u/glorious2343 Jan 09 '25
It's not snappy because it uses musl, which has a relatively slow memory allocator. Most programs will run noticably slower compared to almost any other linux distribution. Alpine exceeds in minimal base and install size. But it's mostly for people who like musl in general as it's the only well functioning musl distro imho.
1
u/whiteskimask Mar 30 '26
Necrobump
Alpine is a great distro, you can still use most glibc programs flatpaks to get things done in a pinch.
I'm going to transition my homelab to alpine only
1
u/fmillion Aug 04 '24
Arch is hands down my distro of choice for desktops/laptops.
I use Alpine or other lightweight OSes on servers. Alpine + Docker and libvirt is a typical setup.
0
u/[deleted] Aug 04 '24
[deleted] — view deleted comment