From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HoqM0JrYmOPYgAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 14:06:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKLhMkJrYmMBYwAAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 14:06:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3C3A2290C8 for ; Wed, 2 Nov 2022 14:06:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqDBS-0006U6-3L; Wed, 02 Nov 2022 08:49:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oq8ZS-00059Q-C3 for help-guix@gnu.org; Wed, 02 Nov 2022 03:53:58 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oq8ZQ-0005QB-QL for help-guix@gnu.org; Wed, 02 Nov 2022 03:53:58 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1oq8ZK-00FmbD-6W for help-guix@gnu.org; Wed, 02 Nov 2022 08:53:50 +0100 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1oq8ZH-0001zW-Eq; Wed, 02 Nov 2022 08:53:47 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1oq8Z4-0006Dw-98; Wed, 02 Nov 2022 08:53:34 +0100 Message-ID: <4001ca8e-0e7a-8e36-9fe3-cef00cd2dd34@futurile.net> Date: Wed, 2 Nov 2022 07:53:33 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: Guix package manager installed Content-Language: en-US To: Gottfried , help-guix@gnu.org References: From: Steve George In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::25; envelope-from=steve@futurile.net; helo=mailtransmit04.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 02 Nov 2022 08:49:16 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667394370; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=PHBXiwXKdswnbIyyRZ0kXIBADZY0CWPvYy3Xc646Ats=; b=AJm/FF51w6CwZ6w9m/Vu0hkKfPOFY4gdHWPz9YclLhqmSHYdoqLXOMz7GOe1us4nPWOciJ xqci9gDmX2T/dBFgKNKky5G04jI+w/3lOLPsuM9DobtbX06/YbfKhwK6xPzGpQd1nZdFEN HsXc3Yn2rvSq1QCNXhZzMkHgNwL1zoBZCzIYrt3GWXvXsnW95uQuJGCBJwqn4tXj8GKIn8 5IlEDtGLUHJdhSaL9M3szk8Nxl8ybmk/G24deMGo9BNHt0ZQGw5VZUDlPUs3ShDRAnWzq4 JOZ9cfzAzQtlS9mMkZlOjv2FT455eqNXLwjlVwXZ+yE0eYfiHtC81iY+51g5CA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667394370; a=rsa-sha256; cv=none; b=koHcJkvB2dklaer5b5cgkynZeBgm2jv/czqU/o/Ipblqd2jtsGSsiSKJJ8JsXySMie5oSK HBZYeB3cyP1rmi00AIXt3S6YOfgezTVeolDOJMgGBYyjONtXXydvot7ss/TKAA6MJWDxFp H8Jsv3Rs43BKayPMFjFcNLQZ6UHgBo964o1qTaw9JnEbEnq3xkzmRfpfhis6603UsDDSlO TLap6UXOLGSL5Vg1zEaiZnJzdKDtYGilPdZDjmMunPtXMK6IBUldN3s+0niJKoZpkTLkpz DDz2f1RRhIXhggcCtv5U0gVTHu1xATo52bVcgSktkHzkxBJ0Gsmq8ioFPlKepQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3C3A2290C8 X-Spam-Score: -3.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: X9OPDSZ/QUlZ 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 >