Guix GNU Linux Is For Advanced Users With Respect To Freedom

Guix is an operating system from the GNU project with a "libre" Linux kernel. It is built around the GNU Guix package 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.

Guix XFCE
GNU Guix Xfce

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 /lib/ or /usr/lib/ and while there is a /bin/ root folder it’s only item is a sh symlink to a package in /store/gnu/.

Available per-user binaries exist as symbolic links in $HOME/.guix-profile which itself is a symbolic link to something like /var/guix/profiles/per-user/$USERNAME/guix-profile.

Sometimes running 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:

herd status

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.

Conclusion

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.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *