[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix package manager installed

From: Ricardo Wurmus
Subject: Re: Guix package manager installed
Date: Sun, 30 Oct 2022 00:23:32 +0200
User-agent: mu4e 1.8.9; emacs 28.1

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.


> 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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]