LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 08:27 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
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, 09: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, 09:28 PM   #3
qwijibow
LQ 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, 12: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



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 01:20 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
how can i uninstall stuff vito_huang Linux - Newbie 5 11-27-2004 12:13 PM
Possible to uninstall stuff easily? dping28 Linux - Newbie 3 02-28-2004 07:00 PM
how to uninstall stuff? pminsites Linux - Newbie 1 10-01-2001 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 AM.

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
Open Source Consulting | Domain Registration