From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Sulzberger Subject: Re: What is the standard way to install a package so that all users may use the package? Date: Mon, 16 Mar 2020 19:46:22 -0400 (EDT) Message-ID: References: <8736a85igz.fsf@ponder> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37713) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDzRB-0007SF-CD for help-guix@gnu.org; Mon, 16 Mar 2020 19:46:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDzR8-0000zd-Ts for help-guix@gnu.org; Mon, 16 Mar 2020 19:46:25 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:62698) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDzR8-0000tT-OY for help-guix@gnu.org; Mon, 16 Mar 2020 19:46:22 -0400 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 48hCcZ2NJbzvKb for ; Mon, 16 Mar 2020 19:46:22 -0400 (EDT) In-Reply-To: <8736a85igz.fsf@ponder> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix On Mon, 16 Mar 2020, Vagrant Cascadian wrote: > On 2020-03-16, Jay Sulzberger wrote: >> I run mostly Debian and Debian derived systems. One week ago I >> installed Guix OS on a Thinkpad laptop. The install was smooth. >> Then I, as root, installed Emacs. Of course, my regular non-root >> user "jays", saw no Emacs. I then, by some command of >> symlinking, got Emacs visible to jays, indeed, the same >> executable of Emacs is now used by both root and jays. >> >> What is the standard way to install a Guix package so that all >> users on a single hardware box, can use the package? That is, >> I'd like an install procedure so that by means of the procedure, >> installation of a package is like, from one angle of view, just >> using apt on a Debian system. > > You would install it as part of the system configuration > (e.g. config.scm) and then run: > > guix system reconfigure /path/to/config.scm > > Recent versions of guix system will include the previously used > config.scm and you can use that as a file to tweak: > > guix system list-generations > > Generation 12 Mar 15 2020 16:45:17 (current) > file name: /var/guix/profiles/system-12-link > ... > configuration file: /gnu/store/...-configuration.scm > > cp /gnu/store/...-configuration.scm ~/config.scm > > Edit that file to include the listed packages you want available for all > users and off you go. > > Also a good idea to maintain this file in revision control, so you can > keep track of changes over time. Ah, thanks, Vagrant Cascadian! As I said to Adam Kandur, I just idiotically missed the sub-section "Globally-Visible Packages" in the section https://guix.gnu.org/manual/en/html_node/Using-the-Configuration-System.html of the Guix manual. > > > That said, each individual user being able to select their own software > is one of the great features of guix, though it takes a bit getting used > to the different workflow. It's generally recommended to keep the system > configuration small; to each their own, though. :) > > > live well, > vagrant Yes, I know that being able to have different environments, with tools to conveniently manage environments, is one big objective of the Guix Project. AND I TOO AM A BELIEVER! But, of course, I am incompetent at ed^Wvi^Wnano, so I always install Emacs first when I set up a new machine. (Thus for me Knoppix is the best "Live Distribution" out of the box, because it comes with Emacs already up and running. Recovery is Possible GNU/Linux was once a favorite of mine, but on new machines, it often does not boot.) oo--JS.