Guix is an operating system from the GNU project with a “libre” Linux kernel and the GNU toolchain. It is a stateless operating system that is built around the GNU Guix package manager. It differs from other Linux-distributions in several key ways including it’s unique package management system and it’s service-manager.
Guix version 1.0 was released May 2019 after seven years of development. It’s default desktop environment is Xfce.
One key difference between GNU Guix is that it is entirely free software. It has a “libre” kernel. What this means is that all binary firmware blobs are removed from it’s kernel. The result in pure practical terms is that things like GPU accelerated graphics and video playback does not work. Most WIFI cards and adapters will not work.
The operating system provides advanced package management features such as transactional upgrades and roll-backs, reproducible build environments, unprivileged package management, and per-user profiles.
Guix Package Manager And File System Layout
Guix GNU Linux uses a package-manager which is fittingly called guix. The way this software package manager works when you interface with it is rather normal. For example, to install Icecat (their re-branded Firefox with extensions) you would type:
guix install icecat
And by would type we mean have to type because there is no graphical package management interface on Guix. You can install packages as a regular user. Installing packages is not restricted to root or anyone else with “special” rights.
Things do differ wildly on the back-end side of Guix’s package management. Most importantly: installed software is placed in it’s own folder in
/gnu/store. For example,
guix install pidgin places a copy for the user running that command in
/gnu/store/[hash]-pidgin-2.12.0 and that folder gets the sub-folders
bin/ etc/ include/ lib/ share/. There is no system-side
/usr/lib/ and while there is a
/bin/ root folder it’s only item is a
sh symlink to a package in
Available per-user binaries exist as symbolic links in
$HOME/.guix-profile which itself is a symbolic link to something like
guix install [something] will download some packages and write to disk and it’s done. Sometimes, when installing some packages such as with ungoogled-chromium, it decides to start compiling (“building”) the program.
Gentoo users will be familiar with this process. One key difference is that on Gentoo you expect that a package install involves your CPU being busy for hours while you wait for the package to compile. It appears to be somewhat random if
guix install will download a binary package or spend ages compiling. This is somewhat problematic with
ungoogled-chromium in particular because that piece of software needs more than 8 GB of RAM for a successful compile and the compilation as well as your machine will just stalls at 87% if you have 8 GB or less.
Init System And Service Management
Guix has it’s own service manager called Shepherd which is more similar to systemd than it is to older traditional init-systems like sysvinit and OpenRC (there is no
/etc/init.d/. This means you will have to read the fine manual to use it because it is unlike everything you may be used to from other distributions.
Services are managed with the
herd command which must be ran in a terminal as root. There is no graphical interface. If you’re not root then don’t worry, you can just type
sudo bash or
sudo sh (both shells are available, one is not an alias for the other) and become root.
You can list all available services and their status with the command:
Managing these services is not mysterious, you’d use commands like:
herd start xorg-server herd stop xorg-server herd restart xorg-server
Configuration of the available services does not appear to follow any known standard. There is, for example, no
/etc/X11 where you’d expect X’s configuration files to be. In other words, where and how you would configure and setup X or e-mail services like postfix and things like that remains a mystery. The answer could be in the GNU Guix Reference Manual.
If you install Icecat – their Firefox version, you will find that many websites don’t work. And you can’t install Firefox themes on it. But you can install themes. The default extensions Icecat ships with include GNU LibreJS and a bunch of extensions for making specific sites work with LibreJS. You can disable LibreJS and all the related and use Ublock Origin (and possibly NoScript) instead. It is just an example of problems less computer-skilled people will have with Guix.
Guix does have ungoogled-chromium available (
guix install ungoogled-chromium) and that one seems to work more like you’d expect.
If you are a die-hard free software enthusiast and you are willing to learn an entirely new operating system then Guix is for you. In conclusion, if you just want to browse Facebook and look at videos and/or play games then it’s definitively not for you.