[ILUG] Re: Uninstall with RPM

From: John P. Looney (valen at domain redbrick.dcu.ie)
Date: Wed 19 May 1999 - 09:51:58 IST


On Tue, May 18, 1999 at 08:47:59PM +0100, Mel mentioned:
> Very often, it's much more desirable to install from source rather than
> rpm or deb or whatever other package is around but they are a bitch to
> uninstall. I was wondering is there any way to "pipe" make install scripts
> through something like rpm so it would remember what was installed and
> where for later removal. Anyone know of such a mechanism

 Do what I do:

 ./configure --prefix=/usr/local/packages/packagename

 When you make install, you have all your pacakges that were manually added
in /usr/local/packages. Then, make symbolic links into /usr/local/bin or
/usr/local/lib when needed. This way, to upgrade or remove a package, you
just blow away the whole directory in /usr/local/packages, and that's it.
It's a lot easier than keeping make logs, or keeping the old makefiles, and
hoping they have a "make uninstall" like many do these days.

Kate

-- 
Is PIRACY killing the Amiga?" bravely ponders AMIGA FORMAT -
well, either that or someone's stopped manufacturing the hardware.
                                        -- www.ntk.net (30.04.99)


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:12 GMT