From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Subject: Re: What is the standard way to install a package so that all users may use the package? Date: Mon, 16 Mar 2020 10:15:40 -0700 Message-ID: <8736a85igz.fsf@ponder> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36794) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDtLF-0006rI-K7 for help-guix@gnu.org; Mon, 16 Mar 2020 13:15:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDtLE-0005Tt-FS for help-guix@gnu.org; Mon, 16 Mar 2020 13:15:53 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:53542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jDtLD-0005Gx-HQ for help-guix@gnu.org; Mon, 16 Mar 2020 13:15:51 -0400 In-Reply-To: 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: Jay Sulzberger , help-guix --=-=-= Content-Type: text/plain 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. 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXm+0PQAKCRDcUY/If5cW qiV+AQCNM2/SzTsh6vWdogbMzX8iVjejNBdlthJv2SaE1L2tfgEAm5NxzUyzISTv /6gXAVaQH1qvRZDk9dk5qfjbGxry5g4= =IOIH -----END PGP SIGNATURE----- --=-=-=--