Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Installing outside of Portage & cruft removal
Date: Mon, 16 Feb 2009 18:41:32
Message-Id: 200902161941.23123.dirk.heinrichs@online.de
In Reply to: Re: [gentoo-user] Installing outside of Portage & cruft removal by Grant
1 Am Montag, 16. Februar 2009 19:33:11 schrieb Grant:
2
3 > > If you can install your apps into a specific location, I'd use xstow.
4 > >
5 > > emerge xstow
6 > > cd ~/install/myapp-1.2.3
7 > > ./configure --prefix=/usr/local/stow/myapp-1.2.3 &&
8 > > make &&
9 > > make install
10 > > cd /usr/local/stow
11 > > xstow myapp-1.2.3
12 > >
13 > > myapp-1.2.3 is installed into /usr/local/stow/myapp-1.2.3, but xstow
14 > > created symlinks into the /usr/local hierarchy, so it looks as if it were
15 > > directly installed there. No need to add /usr/local/stow/myapp-1.2.3/bin
16 > > to the PATH and such.
17 > > Use xstow -D myapp-1.2.3 to remove the symlinks if you want to uninstall,
18 > > then remove /usr/local/stow/myapp-1.2.3.
19 >
20 > That would still leave anything installed outside of /usr/local (/etc
21 > for example) right?
22
23 No. All the symlinks will be in /usr/local or subdirectories of it (or more
24 general: in the parent directory of the stow dir).
25
26 Bye...
27
28 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Installing outside of Portage & cruft removal Grant <emailgrant@×××××.com>