unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
Subject: Re: Guix package manager installed
Date: Sun, 30 Oct 2022 09:12:51 +0000	[thread overview]
Message-ID: <8f44d968-0684-9877-4866-13c81e12de1a@posteo.de> (raw)
In-Reply-To: <8735b6felm.fsf@elephly.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 3168 bytes --]

Hi Ricardo,

thanks for your answer.

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

I have got:
~/.config/guix/current/ a bin etc lib and share folder and a manifest file
Are those the default?

I don't have a channel file or a manifest, because I don't know yet how 
to set it up, and what are the advantages for me at the moment to do 
that. In future, when I understand the advantages to do that, I can set 
them up.

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

What would be the benefit to use Guix with the root user account?


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

How can set up a link from my user "guix" to the root user?

I guess this is also useful for my other laptop, where I have Guix 
system installed.

  Kind regards

Gottfried


Am 30.10.22 um 00:23 schrieb Ricardo Wurmus:
> 
> 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.
> 



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2022-10-30  9:13 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
2022-10-30  9:12   ` Gottfried [this message]
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=8f44d968-0684-9877-4866-13c81e12de1a@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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).