unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40648] [PATCH] Add subsections to the Binary Installation section
@ 2020-04-15 19:52 Steven vanZyl
  2020-04-19 11:27 ` bug#40648: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Steven vanZyl @ 2020-04-15 19:52 UTC (permalink / raw)
  To: 40648; +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 <rushsteve1@rushsteve1.us>
---
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40648: [PATCH] Add subsections to the Binary Installation section
  2020-04-15 19:52 [bug#40648] [PATCH] Add subsections to the Binary Installation section Steven vanZyl
@ 2020-04-19 11:27 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-04-19 11:27 UTC (permalink / raw)
  To: Steven vanZyl; +Cc: 40648-done

Hi,

Steven vanZyl <rushsteve1@rushsteve1.us> skribis:

> 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.

Good ideas.  I pushed a variant of your patch as
40c6b1802cf014d5a747310606285e52ee3e3d3e.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-19 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 19:52 [bug#40648] [PATCH] Add subsections to the Binary Installation section Steven vanZyl
2020-04-19 11:27 ` bug#40648: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).