all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Steve George <steve@futurile.net>, help-guix@gnu.org
Subject: Re: Guix package manager installed
Date: Wed,  2 Nov 2022 19:59:49 +0000	[thread overview]
Message-ID: <83dc6c3b-b68c-56da-d78c-98f5752d6b72@posteo.de> (raw)
In-Reply-To: <4001ca8e-0e7a-8e36-9fe3-cef00cd2dd34@futurile.net>


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

  Hi Steve,

thanks for explanation
I am hacking on the basics.


I tried:

sudo systemctl status guix-daemon.service

but it said:

gfp@Tuxedo ~$ sudo systemctl status guix-daemon.service
Password:
sudo: systemctl: command not found

systemctl ?

Kind regards

Gottfried



Am 02.11.22 um 08:53 schrieb Steve George:
> Hi,
> 
> The key concept to understand is that Guix runs a build daemon and 
> package database (/gnu/store) on the machine which multiple 'normal' 
> users can use. You can see it with:
> 
>    sudo systemctl status guix-daemon.service
> 
> The manual is trying to explain that you use the root user to update the 
> guix daemon itself. So you do this:
> 
>    sudo -i pull guix
>    sudo systemctl restart guix-daemon.service
> 
> The second step is that for each of your normal users, you then use 
> guix. For example, to update guix for my main user and to install a 
> package:
> 
>    # open a normal terminal
>    $ guix pull
>    $ guix upgrade
>    $ guix install tmux
> 
> If you inspect the guix-daemon service the log will show your user 
> connecting to the service and the guix-daemon handling the actions (e.g. 
> download the software):
> 
>    sudo systemctl status guix-daemon.service
> 
> If you had multiple users then each individual user would do guix pull 
> to update their definitions of what applications/versions are available. 
> Each user has their own record (called a profile) of which applications 
> they've installed.
> 
> The advantage of using the single daemon, is that if multiple users 
> installed a program (e.g. tmux) then it would only be downloaded once.
> 
> Unless you use your root user regularly you don't need to install 
> applications as the root user. I personally only run a small number of 
> commands as root so I don't install any Guix software as root.
> 
> Hope that makes it easier to understand!
> 
> 
> On 29/10/2022 21:57, Gottfried wrote:
>> Hi Guixers,
>>
>> 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.
>>
>> I am wondering myself that I was able to understand the manual and 
>> step by step I did what it said.
>> Even sometimes there were messages of failures but at the end 
>> everything worked. (I had to look up for solutions  on the web several 
>> times, but at the end it was successful)
>>
>> 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?
>>
>>
>> Where is the relevant file for the guix package manager I installed?
>>
>>
>> 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?
>>
>>
>>
>> Kind regards
>>
>> Gottfried
>>
> 

-- 



[-- 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-11-02 20:00 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
2022-10-30 13:29     ` Felix Lechner via
2022-11-02  7:53 ` Steve George
2022-11-02 19:59   ` Gottfried [this message]
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

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

  git send-email \
    --in-reply-to=83dc6c3b-b68c-56da-d78c-98f5752d6b72@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=steve@futurile.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.
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.