Revision of GNU Guix Package Manager from Tue, 10/17/2023 - 19:29

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 guix
To update the Guix tools along with the distribution of the packages that are installed, or upgrade them to the latest version available, run
 guix pull
This 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 the GNU IceCat Web Browser for example, run:

 guix install icecat
Don't forget to set the environment variables, like shown on your terminal output, before starting IceCat!

Further Reading and Videos

https://guix.gnu.org/en/help/

Sources

Revisions

10/15/2023 - 15:04
knife
09/04/2024 - 09:18
Avron