Próximo: , Acima: Instalação   [Conteúdo][Índice]

2.1 Instalação de binários

This section describes how to install Guix from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, described later (veja Compilando do git).

Importante: This section only applies to systems without Guix. Following it for existing Guix installations will overwrite important system files.

Some GNU/Linux distributions, such as Debian, Ubuntu, and openSUSE provide Guix through their own package managers. The version of Guix may be older than 9756d9d but you can update it afterwards by running ‘guix pull’.

For Debian or a derivative such as Ubuntu, call:

sudo apt install guix

Likewise, on openSUSE:

sudo zypper install guix

The Guix project also provides a shell script,, which automates the binary installation process without use of a foreign distro package manager5. Use of requires Bash, GnuPG, GNU tar, wget, and Xz.

The script guides you through the following:

As root, run:

# cd /tmp
# wget
# chmod +x
# ./

Nota: By default, will configure Guix to download pre-built package binaries, called substitutes (veja Substitutos), from the project’s build farms. If you choose not to permit this, Guix will build everything from source, making each installation and upgrade very expensive. Veja Confiança em binários for a discussion of why you may want to build packages from source.

To use substitutes from, or a mirror, you must authorize them. For example,

# guix archive --authorize < \
# guix archive --authorize < \

When you’re done installing Guix, veja Configuração de aplicativo for extra configuration you might need, and Começando for your first steps!

Nota: O tarball da instalação binária pode ser (re)produzido e verificado simplesmente executando o seguinte comando na árvore de código-fonte do Guix:

make guix-binary.system.tar.xz

... que, por sua vez, executa:

guix pack -s system --localstatedir \
  --profile-name=current-guix guix

Veja Invocando guix pack, para mais informações sobre essa ferramenta útil.

Should you eventually want to uninstall Guix, run the same script with the --uninstall flag:

./ --uninstall

With --uninstall, the script irreversibly deletes all the Guix files, configuration, and services.

Notas de Rodapé


Próximo: Configurando o daemon, Acima: Instalação   [Conteúdo][Índice]