doc: Move ‘guix-install.sh’ commands upfront in “Binary Installation”.

* doc/guix.texi (Binary Installation): Move installation commands upfront.

Change-Id: Ie63837f29d5c2f25e3e50039facb8cdb12ba2f82
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Ludovic Courtès 2026-01-18 18:42:07 +01:00 committed by Rutherther
parent a92a0ddaea
commit 6e89d38ce8
No known key found for this signature in database
GPG key ID: 0322798269E471C3

View file

@ -777,6 +777,16 @@ Use of @file{guix-install.sh} requires Bash, GnuPG, GNU@tie{}tar, wget,
and Xz. On systems where systemd is detected, the tool
@command{newgidmap} from the @code{uidmap} package is also required.
To install Guix on top of your GNU/Linux system, run the following
commands as root:
@example
cd /tmp
wget https://guix.gnu.org/guix-install.sh
chmod +x guix-install.sh
./guix-install.sh
@end example
The script goes through the following steps:
@itemize
@ -786,15 +796,6 @@ The script goes through the following steps:
@item Configuring substitute servers
@end itemize
As root, run:
@example
cd /tmp
wget https://guix.gnu.org/guix-install.sh
chmod +x guix-install.sh
./guix-install.sh
@end example
@quotation Note
By default, @file{guix-install.sh} will configure Guix to download
pre-built package binaries, called @dfn{substitutes}