- To: Slug <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] start scripts on Debian
- From: Simon Wong <linux@xxxxxxxxx>
- Date: Thu, 09 Sep 2004 12:42:32 +1000
- Organization: Wongy.org
- Reply-to: linux@xxxxxxxxx
On Thu, 2004-09-09 at 10:38, David wrote:
> Second question: Having done the usual configure/make/make-install, what's
> the approved way to remove everything that was installed?
There is a package called stow that is great for installing non-packaged
applications.
You configure your source to install into the Stow directory e.g.
/usr/local/stow/application-0.12
Then use stow to install where you want. It makes sym links to the
actual application e.g. /usr/bin/app ->
/usr/local/stow/application-0.12/bin/app
I always install into a dir witht he version number in the name so you
can parallel install diff versions in the stow directory.
IBM DeveloperWorks have a nice tutorial:
http://www-106.ibm.com/developerworks/linux/library/l-stow/
Stow will also remove the symlinks for you.
Another thing to note is that you can give make the "-n" flag so it will
show you what it's going to do befoe it actually does it. This is a
good way to check what's going to be clobbered.
e.g.
$ make -n install
HTH
--
Simon Wong <linux@xxxxxxxxx>
Wongy.org