Revision of GNU Guix Package Manager from Sun, 10/15/2023 - 15:04
The revisions let you track differences between multiple versions of a post.
GNU Guix is a functional package management tool written for the GNU system. Differing from traditional package managers, Guix (like Nix, which Guix is based on) utilizes a purely functional deployment model where software is installed into unique directories generated through cryptographic hashes, which include all dependencies for it. It uses low-level mechanisms from the Nix package manager, but configuration and package recipes are written in Guile Scheme. The packages are defined as native Guile modules, which makes it a hackable system.
Main Features of Guix
- Transactional Upgrading
- Roll-Backs
- Reproducible Build Environments
- Unprivileged Package Management
- Per-User Profiles
Installing Guix, Updating and Configuring
To install the Guix package management tool, open a Terminal and run:
sudo apt install guixTo update the Guix tools along with the distribution of the packages that are installed, or upgrade them to the latest version available, run
guix pullThis will take some time.
To integrate Guix into the system run these few commands:
guix install glibc-locales
export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
guix install fontconfig font-dejavu font-gnu-freefont gs-fonts
fc-cache -rv
Example of How to Install a Pacakge with Guix
As shown above, run 'guix install [package]' to install a package. To install Icecat for example, run:
guix install icecatDon't forget to set the environment variables, like shown on your terminal output, before starting icecat!