From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Luis Felipe <luis.felipe.la@protonmail.com>, 46803@debbugs.gnu.org
Subject: bug#46803: User manual does not explain Profiles (nor GUIX_PROFILE)
Date: Sun, 14 Mar 2021 11:56:47 +0100 [thread overview]
Message-ID: <87h7lem2a8.fsf@gnu.org> (raw)
In-Reply-To: <86mtvn9ni0.fsf@gmail.com> (zimoun's message of "Mon, 01 Mar 2021 11:28:23 +0100")
[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]
Hello,
zimoun <zimon.toutoune@gmail.com> skribis:
> Effectively, profiles is not explicitly defined but implicitly, for
> instance:
>
> <https://guix.gnu.org/manual/devel/en/guix.html#Features>
>
> Otherwise, the most explicit definition is in the Cookbook:
>
> Guix provides a very useful feature that may be quite foreign to
> newcomers: profiles. They are a way to group package
> installations together and all users on the same system are free
> to use as many profiles as they want.
>
> <https://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html>
[...]
> <https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/environments.html>
>
> And from this old time, I remember that examples really helps, for
> instance.
>
> <https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html#managing-environments>.
>
> Therefore, the section «Getting Started» could be a bit extended with a
> paragraph about Profiles and one or two examples. WDYT?
>
> <https://guix.gnu.org/manual/devel/en/guix.html#Getting-Started>
Thanks for the pointers! How about these changes to “Getting Started”
and “Invoking guix package”?
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1372 bytes --]
diff --git a/doc/guix.texi b/doc/guix.texi
index 4cf241c56a..00bd087628 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2751,7 +2751,10 @@ you can go ahead and install it (run this command as a regular user,
guix install emacs
@end example
-You've installed your first package, congrats! In the process, you've
+You've installed your first package, congrats! The package is now
+visible in your default @dfn{profile}, @file{$HOME/.guix-profile}---a
+profile is a directory containing installed packages.
+In the process, you've
probably noticed that Guix downloaded pre-built binaries; or, if you
explicitly chose to @emph{not} use pre-built binaries, then probably
Guix is still building software (@pxref{Substitutes}, for more info).
@@ -3061,7 +3064,10 @@ retaining precise @dfn{provenance tracking} of the software.
@cindex package removal
The @command{guix package} command is the tool that allows users to
install, upgrade, and remove packages, as well as rolling back to
-previous configurations. It operates only on the user's own profile,
+previous configurations. These operations work on a user
+@dfn{profile}---a directory of installed packages. Each user has a
+default profile in @file{$HOME/.guix-profile}.
+The command operates only on the user's own profile,
and works with normal user privileges (@pxref{Features}). Its syntax
is:
next prev parent reply other threads:[~2021-03-14 10:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 21:24 bug#46803: User manual does not explain Profiles (nor GUIX_PROFILE) Luis Felipe via Bug reports for GNU Guix
2021-02-26 23:30 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-02-27 18:11 ` Luis Felipe via Bug reports for GNU Guix
2021-03-01 9:59 ` Ludovic Courtès
2021-03-01 10:28 ` zimoun
2021-03-14 10:56 ` Ludovic Courtès [this message]
2021-03-15 9:43 ` zimoun
2021-03-17 13:54 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7lem2a8.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=46803@debbugs.gnu.org \
--cc=luis.felipe.la@protonmail.com \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.