💾 Archived View for malinfreeborn.com › gen › void.gmi captured on 2022-04-29 at 11:25:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

➡️ Next capture (2022-06-03)

-=-=-=-=-=-=-

Overview: Void Linux

It's the little things that make me feel comfy.

Services are Simple

Systemd is fine, but I have to look up how to make a new unit file every time, and then input the path to the executable, which is generally some script I've written. With Void's runit, the service file *is* the script. There's nothing to learn or look up - you just write out a normal script, put it in a file called `run`, and runit will run that script.

Here we have the `at` service in its entirety:

#!/bin/sh
exec atd -f

And the network time protocol daemon, running as the ntpd user:

#!/bin/sh
exec isc-ntpd -g -u ntpd:ntpd -n >/dev/null 2>&1

And while this is a difference that really makes no difference, it's nice that the service executable itself is called `sv`, rather than `systemctl`. It's easier to type, and fits in with the other traditional UNIX utilities.

XBPS

Binary Packages

There's a lot of good things to be said for the AUR, but speed isn't one of them. Wait a week before updating a reasonably chonky system, and you could be waiting an hour for things to compile. Add a web browser or two in there (e.g. Librewolf) and you'll be waiting longer.

The compiled packages occasionally require manual intervention, and while it's not a great hassle to see that something's gone wrong, then compile it cleanly, it also doesn't seem to have any use. The binary packages just download and run - no hassle.

Has the Stuff I Like

Void doesn't have huge numbers of packages, but there's something comforting about the fact that it has all the packages I care about. Things like `sc-im` (the terminal spreadsheet editor), `fd`, and `i3-gaps` suggest that the people maintaining Void Linux have a similar workflow to me.

Proprietary Packages...but separate

I've never used Void's proprietary repositories, but I appreciate that they're there in case I need one. However, while I *don't* need any, it's nice to feel the separation. When proprietary packages sit next to the others, the only way to know what you're getting is to enquire about the licence for each package, which nobody wants to do.

Small Packages

When you first fire up Void, a lot of packages which you might consider basic aren't there. However, the name of the package is typically the name of the program, so a simple `xbps-install bash iw` sorts the problem immediately. Installing some 'basic' packages serves as a nice reminder that there are plenty of other 'basic' packages which you don't need and aren't on your system.

The x-binary packaging system also has lots of sensible defaults built into the commands. On Arch, if you want to remove orphaned packages, you need to type `sudo pacman -Rsn "$(pacman -Qdtq)"` - an unreasonable mouthful by any benchmark. On Void, it's just `sudo xbps-remove -O`.

Architectures & Compilers

There's a time and a place for musl, but when people are using systemd, there's no option to try out different compilers. Void is agnostic towards architectures and compilers, so you can make any selection, and find broadly the same packages in the repositories.

This also means the community is less fractured. On Ubuntu, you'll be running Ubuntu on the main machine, and Raspbian on your raspberry pi. With Arch, you'll be on Archarm, and woe betide anyone who goes onto the archlinux.org forums and requests help for archarm because it is 'a totally different operating system'. Then we have the easier flavours of Arch, which have their own default desktops, along with Ubuntu derivatives, such as Kubuntu, Xubuntu, et c., each with their own communities.

Void's a lot easier; it's just Void. If you want a Void ISO with a pre-installed desktop, they're all available.

Stable

I have no idea why this is the case, but I get far fewer problems on the Void Linux distro than on Arch. No random X problems, no little glitches, it just works.

This is after running both for about five years.

Small is Fast

Void and Arch have roughly the same idling RAM and CPU usage, but Void is just a tad faster. It doesn't come with automatic logging, has fewer binaries installed from the outset.

When running a Void Linux server on a Raspberry pi, the start-up RAM was 35MB.

Problems

Audio

Getting used to the audio took some time. You need to add your user to the audio group, then install pulse, and you have two more groups associated with pulse. I don't know the difference, so I just added myself to both.

Documentation

Documentation is also rubbish. This hasn't been a real problem, since one can usually just use the developer's documentation for non-obvious items, like `lxc` or `nginx`. Still, it'd be nice to get something similar to the Arch wiki, but for Void.

Limited Packages

My raspberry pi won't switch over to Void until there's a pihole package, and every so often I'll find something else nifty in the AUR, which isn't available, such as `peerflix`, or `gtop`.

End Notes

I can't imagine recommending Void to anyone, given the obscurity, and the fact that most people don't really care about losing 2-seconds start-up time, and 10 MB RAM. But I'll be sticking with it, as it's been comfy as all heck.