summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-19 13:26:05 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-19 13:27:07 +0200
commit40c6b1802cf014d5a747310606285e52ee3e3d3e (patch)
treeeedc09cdf0e7154ba81cfb018d620f7f6bd83bdb /doc
parenta3cbcbaf8b7dcd12a62006bc40a05ead67e10537 (diff)
downloadpatches-40c6b1802cf014d5a747310606285e52ee3e3d3e.tar
patches-40c6b1802cf014d5a747310606285e52ee3e3d3e.tar.gz
doc: Make install script more prominent.
Suggested by Steven vanZyl <rushsteve1@rushsteve1.us>. * doc/guix.texi (Binary Installation): Add @example showing how to download the script. Use "systemctl enable --now".
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index e5f4d02504..0b8460a6fe 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -548,7 +548,14 @@ We recommend the use of this
@uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh,
shell installer script}. The script automates the download, installation, and
initial configuration steps described below. It should be run as the root
-user.
+user. As root, you can thus run this:
+
+@example
+cd /tmp
+wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
+chmod +x guix-install.sh
+./guix-install.sh
+@end example
@end quotation
Installing goes along these lines:
@@ -652,7 +659,7 @@ with these commands:
@example
# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
/etc/systemd/system/
-# systemctl start guix-daemon && systemctl enable guix-daemon
+# systemctl enable --now guix-daemon
@end example
If your host distro uses the Upstart init system: