Operating System - Linux
1748219 Members
4351 Online
108759 Solutions
New Discussion юеВ

how to un-install non-rpm packages/softwares ?

 
SOLVED
Go to solution
Maaz
Valued Contributor

how to un-install non-rpm packages/softwares ?

hi dear experts,

I did the following
#tar -xzvf snort.2.2.0.tar.gz
#cd snort2.2.0; ./configure; make; make install

snort is now installed. but now i want to un-install the snort, so how can i un-install snort ?

Thanks in Adv.

Maaz
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: how to un-install non-rpm packages/softwares ?

Probably:

cd /usr
find . -name sort*

This will show you where snort is.

then rm -rf the binaries and other files installed by snort.

If you installed to an alternative location you may need to search from / (root) instead of /usr

The install script should also tell you where it was installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor

Re: how to un-install non-rpm packages/softwares ?

sometimes Makefile has "uninstall" option.

Read "README" and/or "INSTALLATION" docs.
dirk dierickx
Honored Contributor

Re: how to un-install non-rpm packages/softwares ?

it is a good idea to put self compiled programs all in their own directory, to avoid this problem in the future.

another solution is to use the 'checkinstall' program, which will make an rpm out of any sources you compile using make.
http://checkinstall.izto.org/

otherwise, you could look at the makefile to determine which files are copied to which location.
Maaz
Valued Contributor

Re: how to un-install non-rpm packages/softwares ?

Dear SEP, Vitaly Karasik, and Dirk Dierickx... many Thanks for the support/help.

Again I m HIGHLY THANKFUL to u all.

Regards
Maaz