From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: A few questions about packages Date: Wed, 7 Mar 2018 18:38:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etd1o-0008Hq-1F for help-guix@gnu.org; Wed, 07 Mar 2018 12:39:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etd1k-0003qZ-38 for help-guix@gnu.org; Wed, 07 Mar 2018 12:39:00 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35089) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1etd1j-0003q1-T7 for help-guix@gnu.org; Wed, 07 Mar 2018 12:38:56 -0500 In-Reply-To: Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jone , help-guix@gnu.org On 07/03/2018 17:09, Jone wrote: > Hello. Can I remove old package versions and other builds? On the > example of Icecat: > >     252.1 MiB [          ] > /5ym67s5vp1vmnc3y4ds4r3687vc3nl25-icecat-52.6.0-gnu1 >     252.0 MiB [          ] > /360i9ca4gnm3rsjj8v43ih0j3mfrp40n-icecat-52.6.0-gnu1 >     246.8 MiB [          ] > /kd0nnq3i0qarx4vqxcampxfj3igxn84h-icecat-52.3.0-gnu1 "guix gc" will delete all packages that are no longer required. Most probably that includes all Icecat installs except for the latest. However, if two users on the system have different versions of Icecat installed, both will be kept. > And the next question, is also about Icecat: version 52.6.0 was compiled > from source. This is too long. Can I create binary package from this > local installation? In a sense you already have one, stored on your computer. So I guess your question is how you can use this binary package on a different machine, right? There are two answers to this question: 1) If the other machine also runs Guix, the answer is "guix archive": https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-archive 2) If the other machine does not use Guix, have look at "guix pack": https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-pack Konrad.