LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2003, 01:03 PM   #1
slice4e
Member
 
Registered: Apr 2003
Location: Daytona Beach
Posts: 30

Rep: Reputation: 15
How do I uninstall?


Hello everybody ,

I am a newbe and I would appreciate if anybody takes some time
to help me out.

I have installed a program like this:

gunzip -c lam-7.0.tar.gz | tar xf -
./configure .....
make
make install

This is fine.
But now I want to uninstall what I just installed? How can I do it?

By the way how do I uninstall when I have installed with RPM?

Thank you for your help and time
 
Old 08-26-2003, 01:08 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
RPM = rpm -e packagename To find the packagename:
rpm -qa | grep package

To uninstall the above installed program/application:
make uninstall
in the source directory where you typed 'make install'. On the occasion the author has put the target to make uninstall in there, that'll work. However it's not always the case. You could read through the Makefile to see what you need to 'undo' or, in the future use a tool called Checkinstall:
www.freshmeat.net
To do your make install. This will keep track of packages that are installed from source for you. Read the documentation with it to find out how to use it on your system Or even if you can (which distro?)

Cool
 
Old 08-26-2003, 02:59 PM   #3
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Rep: Reputation: 30
yeah do what MasterC says, but heres another thing i just started doing myself:

when doing ./configure, make and make install, add ">> ./install.log".
after each command, or just "./configure && make && make install > ./install.log".

This will save all the output so you have a record of just exactly what each command did. Probably fairly useless, but maybe it'll help if theres no other option.
 
Old 08-26-2003, 10:05 PM   #4
slice4e
Member
 
Registered: Apr 2003
Location: Daytona Beach
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you very much guys, I will try that.
You were very helpful.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
How can I uninstall The Patbon Mandriva 6 11-28-2004 07:03 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Uninstall without make uninstall zynor Linux - Software 3 08-23-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:38 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