From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33691) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOoHP-0000f6-UR for guix-patches@gnu.org; Wed, 15 Apr 2020 16:05:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOoHO-00067B-NL for guix-patches@gnu.org; Wed, 15 Apr 2020 16:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOoHO-000673-Kq for guix-patches@gnu.org; Wed, 15 Apr 2020 16:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOoHO-00050h-E8 for guix-patches@gnu.org; Wed, 15 Apr 2020 16:05:02 -0400 Subject: [bug#40648] [PATCH] Add subsections to the Binary Installation section Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60501) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOo5D-0005Y5-D8 for guix-patches@gnu.org; Wed, 15 Apr 2020 15:52:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOo5C-0000v7-6g for guix-patches@gnu.org; Wed, 15 Apr 2020 15:52:27 -0400 Received: from mail-qv1-f42.google.com ([209.85.219.42]:32862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOo5C-0000uB-2m for guix-patches@gnu.org; Wed, 15 Apr 2020 15:52:26 -0400 Received: by mail-qv1-f42.google.com with SMTP id p19so805030qve.0 for ; Wed, 15 Apr 2020 12:52:23 -0700 (PDT) From: Steven vanZyl Date: Wed, 15 Apr 2020 15:52:10 -0400 Message-Id: <20200415195210.30157-1-rushsteve1@rushsteve1.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40648@debbugs.gnu.org Cc: Steven vanZyl Break the Binary Installation section of the manual into two subsections: Installation Script, and Manual Installation. With an example for the Installation Script. This serves to highlight the existence of the installation script as the recommended way of installing Guix and provide an example of its usage for users. Additionally altered an example systemd command in the Manual Installation section to turn two commands into one by using the --now flag instead of calling start then enable. Signed-off-by: Steven vanZyl --- This is my first patch submission to Guix so I am rather new at this. If I have made any mistakes please let me know and I will endeavor to correct them as soon as possible. doc/guix.texi | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index ef5f68db24..8490977bd9 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -77,6 +77,7 @@ Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020 Brice Waegeneire@* +Copyright @copyright{} 2020 Steven vanZyl@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -542,13 +543,25 @@ is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz. @c Note duplicated from the ``Installation'' node. -@quotation Note +@subsection Installation Script + 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. -@end quotation + +@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 + +The script will then proceede to download and install GNU Guix, +occasionally prompting you for confirmation of settings. + +@subsection Manual Installation Installing goes along these lines: @@ -651,7 +664,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: -- 2.26.0