LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-01-2005, 11:14 AM   #1
mattl
Member
 
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Rep: Reputation: 15
uninstalling apps not installed with RPM?


this might (i hope) be an easy question.. what do people do normally to uninstall programs they've compiled and installed with "make install" as opposed to rpm?

hopefully theres no a TOO difficult/time consuming way to do this?
it seems all too often the latest greatest software app isnt available as an RPM so I'm left to compile and install manually..

any help/suggestions to reading material welcome -- thank you!
 
Old 06-01-2005, 11:31 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
You rm the programs.

I've seen, on occasion, some programs will actually have a make uninstall, not many, but some.
 
Old 06-01-2005, 11:34 AM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
"this might (i hope) be an easy question.. what do people do normally to uninstall programs they've compiled and installed with "make install" as opposed to rpm?"

I avoid the problem by useing checkinstall to create a rpm version of the program. After you have installed checkinstall all you have to do is:

./configure
make
checkinstall

and then install the rpm in the normal way.

For programs that you have already installed using make install there is a way to remove them using checkinstall. You go through the procedure of installing the program using checkinstall. When you install the checkinstall created rpm it will install the rpm package on top of the make install package. Then when you use:
rpm -e packagename

the package disappears.

http://freshmeat.net/projects/checkinstall/

----------------------
Steve Stites

Last edited by jailbait; 06-01-2005 at 11:38 AM.
 
Old 06-01-2005, 11:51 AM   #4
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
`checkinstall` is definitely the way to go but if you didn't use it to install the program, you can't use it to remove it can you

What you need to do is, as Technoslave said, `rm` the program files. This can sometimes be easy if they were installed in /usr/local/ and all the files are easily identifiable. Sometimes, though, an install strews files all over the place: libs, binaries, manpages, etc. That can be a hard thing to remove completely.

Usually, though, unless you have a conflict with something you can leave an app where it is and just stop using it. If you are getting a conflict with another installer then delete the files it's conflicting with.

Yes this will clutter your system, which is why you should start with `checkinstall` from now on

PS Big apps like OpenOffice tend to install themselves in a distinct folder that you can just rm.
 
Old 06-01-2005, 12:03 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
"`checkinstall` is definitely the way to go but if you didn't use it to install the program, you can't use it to remove it can you"

Yes, you can. I explained how in my post.

-------------------
Steve Stites
 
Old 06-01-2005, 12:33 PM   #6
mattl
Member
 
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Original Poster
Rep: Reputation: 15
cooool. will check it out (checkinstall). glad i asked that one! that has been in back of my mind for months. i am testing out exchange4linux and it puts on ton of extra dependant packages so ill try the checkinstall method of uninstalling it thanks all again!!
 
Old 06-01-2005, 12:35 PM   #7
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
jailbait > Woops! I only read the beginning of your post (typical mistake).
 
  


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
Where did the rpm installed my apps ? taxman Linux - Newbie 16 09-13-2005 01:48 AM
Uninstalling package apps Slayer097 Linux - Newbie 5 02-25-2005 07:13 PM
adding apps installed by rpm to kmenu nathi Mandriva 1 10-13-2004 07:42 AM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 12:25 PM
RPM / uninstalling "pre-installed" RH modules cliffyman Linux - General 3 10-24-2001 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:54 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
Open Source Consulting | Domain Registration