hello guys i have centos5.1, and my subject is : when i install a package without the rpm tool cause its not rpm package like configure , make , make install how can i uninstall it later ? thank u all for ur time _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080228/8e7e5b68/attachment.html>
scaglietti amore wrote:> > > hello guys > > i have centos5.1, and my subject is : > > when i install a package without the rpm tool cause its not rpm > package like configure , make , make install > > how can i uninstall it later ?if there's an 'uninstall' target in the Makefile, then... cd projectdirectory (where you built it originally) make uninstall or, find out what 'make install' did (usually by examining the Makefile in the project directory), and manually undo it.
> when i install a package without the rpm tool cause its not rpm > package like configure , make , make install > > how can i uninstall it later ?If possible, configure it using --prefix so that everything belonging to it gets installed in the same place, which will make removing it easy. I prefer to install into /usr/local/<application>/<version> so that I can retain old versions while installing a new one. There will be some work to do to make executables available in users' paths. I do it by creating a symbolic link 'current' pointing to the current version, and making links of the contents of current's bin (in terms of current so that they don't change when I switch versions) in /usr/local/bin. GNU Stow (http://www.gnu.org/software/stow/), not that I use it, has formalised this approach: GNU Stow helps the sysadmin organise files under /usr/local/ by allowing each piece of software to be installed in its own tree under /usr/local/stow/, and then using symlinks to create the illusion that all the software is installed in the same place. Jim
Jim, 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. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Thu Feb 28 04:13:35 2008 Subject: Re: [CentOS] how to uninstall> when i install a package without the rpm tool cause its not rpm > package like configure , make , make install > > how can i uninstall it later ?If possible, configure it using --prefix so that everything belonging to it gets installed in the same place, which will make removing it easy. I prefer to install into /usr/local/<application>/<version> so that I can retain old versions while installing a new one. There will be some work to do to make executables available in users' paths. I do it by creating a symbolic link 'current' pointing to the current version, and making links of the contents of current's bin (in terms of current so that they don't change when I switch versions) in /usr/local/bin. GNU Stow (http://www.gnu.org/software/stow/), not that I use it, has formalised this approach: GNU Stow helps the sysadmin organise files under /usr/local/ by allowing each piece of software to be installed in its own tree under /usr/local/stow/, and then using symlinks to create the illusion that all the software is installed in the same place. Jim _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ______________________________________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080228/a8a99363/attachment.html>
> hello guys > > i have centos5.1, and my subject is : > > when i install a package without the rpm tool cause its not rpm package like configure , make , make install > > how can i uninstall it later ?Try using checkinstall <http://www.asic-linux.com.mx/~izto/checkinstall/>