unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: Guix package manager installed
Date: Sun, 30 Oct 2022 00:23:32 +0200	[thread overview]
Message-ID: <8735b6felm.fsf@elephly.net> (raw)
In-Reply-To: <a86a205d-bc8c-92e6-730e-ce00b7e6ed1e@posteo.de>


Hi Gottfried,

> I am very thankful for all the Guixers who worked and are working for
> Guix, also for the manual...
>
> because against all hope I was able to install the Guix package
> manager on another laptop on top of Trisquel on the basis of the
> manual.

Congratulations!

> 1.  As far as I understand it I have to do
>
> guix pull
>
> and a
>
> guix package -u
>
> but no
>
> sudo guix system reconfigure /etc/config.scm
>
> because there is no /etc/config.scm file
>
> Is that right?

Correct.  For the package manager all you need is “guix pull” and “guix
upgrade” (or “guix package -u” or “guix package -m” etc).

The configuration file at /etc/config.scm is for an operating system
declaration.  The “guix system” command deals with instances of Guix
System, the GNU+Linux distribution.  If you do not use Guix System you
don’t have any system to reconfigure.

You can still use “guix system” to build virtual machines and
containers, but “guix system reconfigure” is not useful on a “foreign
distribution”.

> Where is the relevant file for the guix package manager I installed?

The behavior of “guix pull” depends on an optional channels file, either
at /etc/guix/channels.scm or ~/.config/guix/channels.scm.  If you don’t
have either of these files Guix will use sensible defaults.

> 2.  Do I regularly have to do a "sudo guix pull" for root?
>
> or is it enough that I did it once for setting up guix?

If you actualy use Guix with the root user account then yes.

For convenience you could link your user’s “guix” so that it is the same
for the root user; then you only need to take care of running “guix
pull” for your main user account.

-- 
Ricardo


  reply	other threads:[~2022-10-29 22:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29 20:57 Guix package manager installed Gottfried
2022-10-29 22:23 ` Ricardo Wurmus [this message]
2022-10-30  9:12   ` Gottfried
2022-10-30 13:29     ` Felix Lechner via
2022-11-02  7:53 ` Steve George
2022-11-02 19:59   ` Gottfried
2022-11-03  7:25     ` Steve George
2022-11-03 19:54       ` Gottfried

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735b6felm.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    /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.
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).