<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Re: [CentOS] how to uninstall</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Jim,<BR>
<BR>
Try out 'alternatives' for managing symlinks to prefixed installs, especially if you have multiple versions. Works like a charm and can be used to fix/remove links later.<BR>
<BR>
-Ross<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: centos-bounces@centos.org <centos-bounces@centos.org><BR>
To: CentOS mailing list <centos@centos.org><BR>
Sent: Thu Feb 28 04:13:35 2008<BR>
Subject: Re: [CentOS] how to uninstall<BR>
<BR>
> when i install a package without the rpm tool cause its not rpm<BR>
> package like configure , make , make install<BR>
> <BR>
> how can i uninstall it later ?<BR>
<BR>
If possible, configure it using --prefix so that everything belonging to<BR>
it gets installed in the same place, which will make removing it easy. I<BR>
prefer to install into /usr/local/<application>/<version> so that I can<BR>
retain old versions while installing a new one. There will be some work<BR>
to do to make executables available in users' paths. I do it by<BR>
creating a symbolic link 'current' pointing to the current version, and<BR>
making links of the contents of current's bin (in terms of current so<BR>
that they don't change when I switch versions) in /usr/local/bin.<BR>
<BR>
GNU Stow (<A HREF="http://www.gnu.org/software/stow/">http://www.gnu.org/software/stow/</A>), not that I use it, has<BR>
formalised this approach:<BR>
<BR>
        GNU Stow helps the sysadmin organise files under /usr/local/ by<BR>
        allowing each piece of software to be installed in its own tree<BR>
        under /usr/local/stow/, and then using symlinks to create the<BR>
        illusion that all the software is installed in the same place.<BR>
       <BR>
Jim<BR>
<BR>
<BR>
_______________________________________________<BR>
CentOS mailing list<BR>
CentOS@centos.org<BR>
<A HREF="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</A><BR>
</FONT>
</P>


<P></P>
<HR WIDTH="100%">
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

</BODY>
</HTML>