Gentoo Archives: gentoo-user

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

Replies

Subject Author
[gentoo-user] Re: Installing outside of Portage & cruft removal Nikos Chantziaras <realnc@×××××.de>
Re: [gentoo-user] Installing outside of Portage & cruft removal Dirk Heinrichs <dirk.heinrichs@××××××.de>