Guix

From Grid5000
Revision as of 17:32, 4 March 2021 by Lcourtes (talk | contribs) (Clarify that .guix is G5K-specific.)
Jump to navigation Jump to search

The Guix package manager is available on Grid'5000 to provide an alternative way of installing software on nodes.

This page describes the use of Guix on Grid'5000. For additional information about Guix, see:

How to use Guix on Grid'5000

Guix is available on the standard environment directly through the guix command.

For example:

guix install hello

Each Grid'5000 site hosts a Guix server communicating with each other. So if you install a package on Nancy and then decide to install the same package in Grenoble the guix server from Grenoble will fetch it from Nancy.

Note: To work properly, a .guix directory is created in your home directory (it's a Grid'5000-specific directory). If you remove it, Guix will stop working since your profile is stored there.

Compilation

When you try to install or compile a package, the following steps happen:

  • Guix first tries to fetch the compiled package from ci.guix.gnu.org
  • If not found, it will try to find it on all Grid'5000 Guix servers (on other sites)
  • If it still not found, it will be built on a dedicated machine on Grid'5000, which is not accessible to the users

Supported architecture

For now, Guix is only available on nodes with x86_64 architecture (not on POWER or ARM nodes).