all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Installing and Maintaining Packages on a Drive
@ 2019-07-28  3:35 Ricardo Grant
  2019-07-29 12:40 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Grant @ 2019-07-28  3:35 UTC (permalink / raw)
  To: help-guix

I would like to be able to install software to a drive that I can mount 
and simply add the directory to my path to use the packages. In the 
event that I need to update them I would like to be able to use the 
stand-alone guix to manipulate the packages, can guix solve my problem?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Installing and Maintaining Packages on a Drive
  2019-07-28  3:35 Installing and Maintaining Packages on a Drive Ricardo Grant
@ 2019-07-29 12:40 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2019-07-29 12:40 UTC (permalink / raw)
  To: help-guix


Hi Ricardo,

Ricardo here.

> I would like to be able to install software to a drive that I can
> mount and simply add the directory to my path to use the packages. In
> the event that I need to update them I would like to be able to use
> the stand-alone guix to manipulate the packages, can guix solve my
> problem?

Guix installs all packages to /gnu/store.  It keeps track of the
contents of /gnu/store with a database that’s located at /var/guix by
default.

If /gnu/store and /var/guix (or any other location you pick) are on the
removable drive then you can indeed just attach and remove the drive as
you please.  You can even keep Guix itself (via “guix pull”) on that
same drive and use it to manipulate your profiles wherever you take the
drive.

What might be a little annoying is that you would need to mount or map
the drive to /gnu, which is a location that generally can only be used
or modified by the root user.

Another problem you might have to punt on is managing profiles on
machines that don’t have Guix installed.  Guix requires the use of a
daemon, and the existence of unprivileged build user accounts.  You
cannot build anything (not even new profile generations) without a group
of unprivileged build users.

So, taking your software with you is easy, but managing your profile(s)
on machines that don’t have Guix installed and where you don’t have root
access would be harder.

--
Ricardo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-29 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28  3:35 Installing and Maintaining Packages on a Drive Ricardo Grant
2019-07-29 12:40 ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.