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 |