Grant wrote:

> I'd like to install the latest miro from their nightlies and that
> means installing manually without an ebuild.  I've always avoided this
> because I don't want files spread across my system without an easy way
> to remove them.  I've also always wanted to set up a good cruft
> removal script for keeping my system clean (I'll admit that takes me
> in the hobbyist direction) and I'm thinking the two might work well
> together.  I could temporarily install apps without an ebuild and use
> a cruft removal script to remove them.
>
> What do you guys think of this?  Do you know of a good cruft removal
> script?

If you can install your apps into a specific location, I'd use xstow.

emerge xstow
cd ~/install/myapp-1.2.3
./configure --prefix=/usr/local/stow/myapp-1.2.3 &&
make &&
make install
cd /usr/local/stow
xstow myapp-1.2.3

myapp-1.2.3 is installed into /usr/local/stow/myapp-1.2.3, but xstow 
created symlinks into the /usr/local hierarchy, so it looks as if it were 
directly installed there. No need to add /usr/local/stow/myapp-1.2.3/bin 
to the PATH and such.
Use xstow -D myapp-1.2.3 to remove the symlinks if you want to uninstall, 
then remove /usr/local/stow/myapp-1.2.3.

        Wonko

Reply via email to