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 ms9.migadu.com with LMTPS id APhTDu6EYGQ+PwAASxT56A (envelope-from ) for ; Sun, 14 May 2023 08:51:26 +0200 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 wJ1IDu6EYGSRFgEAauVa8A (envelope-from ) for ; Sun, 14 May 2023 08:51:26 +0200 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 C9FC34918 for ; Sun, 14 May 2023 08:51:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1py5Zd-0001II-BH; Sun, 14 May 2023 02:51:18 -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 1py5Zb-0001HL-Oc for help-guix@gnu.org; Sun, 14 May 2023 02:51:15 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1py5ZY-0004KU-Us for help-guix@gnu.org; Sun, 14 May 2023 02:51:15 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1684047067; cv=none; d=zohomail.eu; s=zohoarc; b=DCJsWOj8WUU53L49n+Us0CaWW4fvYpslOkz/caUdVZwgBlGYrD23OVuyA0+e67YxwDJv/fWcEkd62BkJg6adv+xIayXVz5yA6xBTQ4t25iggRX3eByUi5IJ4QhZ1FLhrWn1H9JyXVgWmvd4N/sbWG+pepvC+snoqZvQgX/3p77E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1684047067; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=COs70Rlh4FJtoITjg4eQloElAnp90MEZsEMcBwuAFzQ=; b=Ru8cJ6cow11FZDz65FN47mPrzcfDwUrIvdatA0QpIsjvydoZgHxePYxJz3uBj/X24Ru26zaZAIEKXJQI2/8yH3k1gTvfb54gbtUpyaqBXG1dCNzIdg9RL/TZrFAvIGtVsxzHk6LCPw+Y7T68ZPCJkfgjypx+turQn6zoGffL4wQ= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1684047067; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=COs70Rlh4FJtoITjg4eQloElAnp90MEZsEMcBwuAFzQ=; b=eG4XxBMOJJQf9zlOSkrcijQ95D1Qcw/n3Ywptunzi1aXRuSGZAJrrAiV1EZsxGw7 l5iiEeaGKmtmrhVnabhry9QCc3k7HwMVzWuKkyL5JVbq2IAW/8iq1IZ0QQ5VKwqwiX9 75ZoI1TRgBtskot5IjkOi5NpF8rUIDdWmu1mPjNATv624QFwCyPJ1tGskEmAvTkaPWD xXKopf9+SUaEZ8MqfUfBnDGvFCBg8C5Xo/KAjnP5lpyjpi4ESntlLms3KucZgVdsulp eLgRDoNb7JqXShxw/Sqqk0vUrunuxhbLK671RHJ8bjV/SWw7v1AqVbV1u73bTxTTQC6 +0BKgqE8ww== Received: from schwarzy (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 168404706471276.77386958610066; Sun, 14 May 2023 08:51:04 +0200 (CEST) References: <1588018684.919240.1684002697666@mail1.libero.it> User-agent: mu4e 1.8.13; emacs 28.2 From: Edouard Klein To: anguriamelone@libero.it Cc: help-guix@gnu.org Subject: Re: Message by a novice Date: Sun, 14 May 2023 08:40:38 +0200 In-reply-to: <1588018684.919240.1684002697666@mail1.libero.it> Message-ID: <878rdrbe42.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.225; envelope-from=edou@rdklein.fr; helo=sender11-op-o11.zoho.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=2; s=key1; d=yhetil.org; t=1684047086; a=rsa-sha256; cv=pass; b=t/EZyAUpDZ+MNvsjuyoRt5EmLjOEuaN7z0Maz5H1d471qBBzopkKG2oRJnJh1htokDCr4F +R9Xq94RJJ3ECrFMZV3D9P3loUE1ECReq3W02PeEJVraWepZHHyHeKDy2GhobRvogEsz+d 4qlmFm3pAcfj/FBf8HdugzaeR4i7Rr/vNDUNjQsx2iUsdhsw7fRkZqpWYRTNRg097Pdbe8 Q+S85AhIwX4G/8+bUStRGughwfQlqXOyxx2lwPqD3zDT/lIZ0GLblXdXToQMjZh8J3uSkA IXKoGwsGtS/jHnZ89b3m1JWiq3V61UCvbCI423IcKtaaSZ/pfW7QF/xzD+OPSA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=eG4XxBMO; 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"; arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684047086; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=COs70Rlh4FJtoITjg4eQloElAnp90MEZsEMcBwuAFzQ=; b=qEG2YXxG/s1GNU7zDm7muTd085RCYKZfc1R3ppJQ/j0hUI6bbGRbu+5NlKItNu/eduGHKU qEwdnZCIh39b1icFfrHYRoFwJP2CYwMhAc7LxoU7tMuPWjcW3tM0M+xukWxaKRG51HeN4B GLdo3ifY7qDypBL8GsXd5oFSkaDepyP51su7VkyIJb4zp41T1C+FuRu7yapyHYO8ge9nSZ BkDw4JJzwH+HCCd1t92GtXlXsymYmIIBUFks1ylHYnk+XN8nTmghGLBchbmxuOIipSaJ3u myz+Xtk1Zzx6efnGqWY/q1iZaODz4EFOpvTtOyiU1mvYIwoZo6saefoNg0+/Qw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=eG4XxBMO; 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"; arc=pass ("zohomail.eu:s=zohoarc:i=1") X-Migadu-Spam-Score: -3.18 X-Spam-Score: -3.18 X-Migadu-Queue-Id: C9FC34918 X-TUID: rJ641kLToxx3 Hi ! First, drop sudo, guix can be run by unprivileged users once installed, and will only affect them. Great for shared environments ! anguriamelone--- via writes: > Hi to everyone. > > I am a novice in GNU Guix, so far I used Trisquel GN-Linux 9.0.2 (i686), but at the end of April the support for the i686 version has been discontinued. Nevertheless I want to continue using free (as in freedom) software and, getting set to install the iso image, if I don't ask for too muchas an abosulte beginner, I would like to know what are the basic command lines corresponding to those of Trisquel GNU-Linux below: > > sudo apt update > guix pull > sudo apt upgrade > For the system: sudo guix system reconfigure /etc/config.scm For your user packages guix package --upgrade > sudo apt install (package name) > guix install > > sudo apt remove --purge (package name) > guix remove Subtle differences with '--purge'. The package will be removed from your profile, but still be available in the store, and local conf (typically in ~/.conf/...) will still be there, and need to be removed manually. But it would have been put manually by you if it exists there, so guix is consistent. > sudo apt search (package name) > Don't use sudo for apt search. guix search ... > sudo apt autoremove > > sudo apt purge > > sudo apt autoclean > > sudo apt clean > Guix is very different from apt, there is no direct mapping for those last four. To reclaim disk space, run guix gc more or less aggressively. Here is the doc: https://guix.gnu.org/manual/en/guix.html#Invoking-guix-gc Here are some notes on very aggressively reclaiming disk space: See how much space the store uses : du -h -d0 /gnu/store : 26G /gnu/store See all the roots that you have : guix gc --list-roots | sort : ... a lot of generations from my different profiles : guix gc --list-roots | wc -l : 107 Delete previous generations, you may be more or less aggresive with the options. Giving no options deletes all generations but the 0th one and the current one. Do this for every profile. List all existing profiles : guix gc --list-roots | sed 's/-[0-9]*-link$//' | sort | uniq Delete the maximum amount of generations from all the profiles : for profile in $(guix gc --list-roots | sed 's/-[0-9]*-link$//' | sort | uniq) : do : echo deleting generations in "$profile"; : guix package --profile="$profile" --delete-generations; : done WARNING: you may want to keep all the genrations from =current-guix= (see [[sec:default-profiles]]), because they don't take up much space, and they will allow you to rebuild the packages from a previously installed and known-good version of guix, instead of having to bisect your way to a working version with =guix time-machine= as we did in [[sec:bisect]]. You can also delete the profiles you are no longer interested in. Delete with =rm= the =guix_profile= (or whatever you called it) link and the =guix_profile-NN-link= that guix added. These will no longer appear in the roots, and therefore the packages they were referencing will be deleteable by the garbage collector. Then, run =guix pull=, and update the packages in all your profiles: : for profile in $(guix gc --list-roots | sed 's/-[0-9]*-link$//' | sort | uniq); do echo upgrading packages in "$profile"; guix package --profile="$profile" --upgrade; done This will allow all common packages between your profiles to be de-duplicated in the store, because they will be at the same exact version, whereas if one was more recent than the other, both versions would be kept in the store, using up disk space. FIXME(ref the section that explain the store and the deduplication). Once all of this is done, the garbage collector can now be launched: : guix gc : du -h -d0 /gnu/store : 6,6G /gnu/store There are also some directories in .cache that you can remove manually. Hope that helps. Cheers, Edouard. > Thanks for the attention and kind regards. > > Piriponzolo > >