Revision of GNU Guix Package Manager from Wed, 01/17/2024 - 07:57
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. GNU Guix provides 27,030 packages transparently available as pre-built binaries. These 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
- 27,030 Packages available
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 Package with Guix
As shown above, run 'guix install [package]' to install a package. To install the GNU IceCat Web Browser for example, run:
guix install icecatDon't forget to set the environment variables, like shown on your terminal output, before starting IceCat!