LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2003, 11:21 AM   #1
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
Uninstalling Programs


Hey,

I am using redhat 9 and I want to know how to uninstall programs that were installed from source. I know how to uninstall programs install through rpm but not source. Also, if I have a program called program-v1 and then they release a new version, say program-v2. Do I just install the new version and it will override the old version? Or do I have to uninstall the old version before I install the new? Which brings me to my first question.....how do you uninstall programs installed from source?



Thanks
 
Old 11-05-2003, 11:40 AM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
In general, the "make install" element of a package just dumps a bunch of files in their appropriate places. Most packages featuring "make install" also feature "make uninstall". If you have the Makefile that you created (using ./configure?) originally, then there's that, or otherwise you find the source tarball and run ./configure with the same options (or lack of) that you did last time and do a "make uninstall" with that.

If the package /doesn't/ feature a "make uninstall", then your only recourse is to have a look in the Makefile to see where it installed everything and rip it out manually. After this, be sure to complain to the maintainer!

All this ain't pretty. That's why it's so good to use packages ;-)
 
Old 11-05-2003, 09:34 PM   #3
joseph
Member
 
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Usually it will override the old version of your program, but it is better for you to uninstall the old version first.

You can uninstall the program ( source not rpm ) by going to their directory and type make uninstall, usually it came with make uninstall, So if doesn't came with make uninstall, you will need to do it manually and after that do a complaint to maintener
 
Old 11-05-2003, 11:20 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
"I want to know how to uninstall programs that were installed from source."

I bypass the whole problem by converting source tarballs to rpms and then install the rpm. It make keeping track of your packages and uninstalling them easier.

The program that I use to convert tarballs to rpms is checkinstall:

http://asic-linux.com.mx/~izto/checkinstall/index.php

With checkinstall the install procedure becomes:
./configure
make
checkinstall

Then install the resulting rpm using the rpm command.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-06-2003, 11:05 AM   #5
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
Quote:
The program that I use to convert tarballs to rpms is checkinstall:
I belong to a listserver for xfce4 and I just, and I mean seconds ago, finished readding an email from this server where people were talking about checkinstall! This sounds like a great function and I am definately going to use it for now on! Thanks for your help.

Later
 
  


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
uninstalling programs speel Linux - Newbie 3 11-09-2004 04:47 PM
uninstalling programs fuelinux Linux - Newbie 9 10-31-2003 08:00 AM
Uninstalling programs alofatti Linux - Newbie 3 06-20-2003 10:50 PM
'Uninstalling' programs keymoo Linux - Newbie 3 01-02-2002 06:06 AM
uninstalling programs punt Linux - General 3 07-17-2001 07:52 PM


All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration