On Thu, Jan 16, 2003 at 01:01:41PM -0000, Yogesh Hasabnis wrote:
> As always I am posting a very silly question. Sorry for that !
> I have installed a package which is distributed in a tar format.
> Now I can't find a way of uninstalling it. I have installed it
> using
> the usual ./configure; make all; make install; way.
As others have mentioned, if the makefile supports an uninstall
target, well and good.
I will tell you how I go about installing packages from tarballs.
Suppose you are installing foo-1.0.
Run the configure script with ./configure --prefix=/opt/foo-1.0
Run make; make install.
Have this snippet in your bash profile:
for dir in /opt/*/bin; do
PATH=$PATH:$dir;
done
for dir in /opt/*/man; do
MANPATH=$MANPATH:$dir;
done
export MANPATH
Now, to uninstall, all you have to do is:
rm -rf /opt/foo-1.0
I keep a largeish /opt partition for this. You can use any big
enough partition of your choice, of course.
Of course, you might also need to have certain symbolic links
etc. to get KDE packages working, but that is left as an exercise.
HTH,
Binand
--
Russian Roulette with Unix:
while :; do kill $RANDOM &> /dev/null && break || sleep 1; done
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help