LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to uninstall stuff? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-uninstall-stuff-152414/)

Red Squirrel 03-01-2004 08:27 PM

how to uninstall stuff?
 
I sort of get how to install stuff.

./configure
make
make install


Then try to figure out how to start program.

But how do I uninstall stuff? Someone told me to just delete everything that has a reference to the program, but that's pretty messy and time consuming, I'm sure there's a cleaner way to do it. :rolleyes:

I was also told I can type make uninstall in the directory I installed from, but I tried it and it does not work. also, what if the program was already installed?

I'm using Red Hat 8.0 so I partially uninstalled the default apache 2.0 because the mod_rewrite module does not work, so I want to put apache 1.3 but after hours of trying to figure out what I'm doing, no luck. can someone walk me through this process? I want to first get rid of all the failed attempts, and also get rid of apache 2.0 since I'm sure there's still traces of it somewhere.

Once this is done, I need to configure php and mysql.... that will be another nightmare I'm sure... I wish linux was as easy as windows, next next next, done, installed.

Gates1026 03-01-2004 09:27 PM

if you installed by source: go to the directory that you did make install and try make clean instead or make uninstall.

That only works sometimes though. If you installed by rpm try rpm -e <package name> (as root of course). Hope this helps

qwijibow 03-01-2004 09:28 PM

make uninstall

but vew people write uninstall scripts into there makefiles.

why not install from RPM, then you can rpm -e package-to-un-install

and if an rpm is not available, then install checkinstall and install source vis the

./configure
make
checkinstall

method, that allows you to use rpm -e to uninstall somthing installed from source.

linux137 03-03-2004 12:42 AM

Thanks for this GREAT tip, already tried it and works GREAT!


All times are GMT -5. The time now is 01:23 AM.