LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-01-2004, 09:27 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 795

Rep: Reputation: 36
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.

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.
 
Old 03-01-2004, 10:27 PM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
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
 
Old 03-01-2004, 10:28 PM   #3
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 03-03-2004, 01:42 AM   #4
linux137
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
Thanks for this GREAT tip, already tried it and works GREAT!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to UNINSTALL stuff????? little_penguin Linux - Software 4 02-12-2005 02:20 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon Suse/Novell 1 12-25-2004 05:37 PM
how can i uninstall stuff vito_huang Linux - Newbie 5 11-27-2004 01:13 PM
Possible to uninstall stuff easily? dping28 Linux - Newbie 3 02-28-2004 08:00 PM
how to uninstall stuff? pminsites Linux - Newbie 1 10-01-2001 08:30 PM


All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration