LinuxQuestions.org
Help answer threads with 0 replies.
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 12-17-2005, 03:03 AM   #1
AaaaAaaaA!
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Smile How does one uninstall programs in Linux?


Hi. First post from a n00b here.
I've just begun trying to tinker with Linux (FC4), especially with installing programs: the ./configure, make, & make install routine.

Now my question is: how does one uninstall a program after it's been installed?

Is there a quick way to do such thing, ie. deleting the folder that the program was installed on?

Or does one have to worry about the dependencies, etc. that the program may have hooked onto or modified?

Thanks!
 
Old 12-17-2005, 03:30 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hi,

http://www.linuxquestions.org/questi...d.php?t=358787

regards
 
Old 12-17-2005, 03:46 AM   #3
helliax
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 9

Rep: Reputation: 0
If you compile the programs like you are now, then you can usually just enter "make uninstall". But you need to make sure you keep the compile directory on your computer . If you've deleted it, then you can always just delete the directories that the programs got installed to (download the source again, and check to see where it installed files to).

You can also try out checkinstall; you'll need to download it if you don't already have it, and run checkinstall as root after the "make" command. If you're familiar with Windows, then what checkinstall basically does is create a single install file (package) from the many source files. You can then mess with that package with whatever package management software comes with your distribution.

Personally I think it makes application management easier, as you can see in one place all the apps you have installed, and remove if you want, without having to allocate space on yoru hard drive for a bunch of source code directories. Of course, you can also create your own package manually (relatively).

The best way to uninstall would be to get the precompiled package for your distribution. If you use a more popular distribution, you should be able to find one.

edit: or...you can go to that thread

Last edited by helliax; 12-17-2005 at 03:48 AM.
 
Old 12-17-2005, 03:49 AM   #4
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
Quote:
Originally Posted by ruudra
which is of course a thread telling you at length that you should have used checkinstall to install the thing in the first place...not very useful if you're already trying to get rid of it :-).

As you installed from source the app won't alter any existing files on your system...a source tar ball contains just the source for that app not the dependancies as well. Therefore, besides make uninstall, you could just delete the dir and it would be gone. As for removing any extra files that it writes to your system then I think you're stuck with the longhand method of checking exactly what those are via the readme/maintainers webby and sitting down with a few rm -rf commands.

For what its worth I prefer the ./configue, make, make install route.

Last edited by otchie1; 12-17-2005 at 03:54 AM.
 
Old 12-17-2005, 03:53 AM   #5
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Quote:
Originally Posted by otchie1
a source tar ball contains just the source for that app not the dependancies as well. Therefore you could just delete the dir and it would be gone. As for removing any extra files that it writes to your system then I think you're stuck with the longhand method of checking exactly what those are via the readme/maintainers webby and sitting down with a few rm -rf commands.
Same for RPM's debs etc..
 
  


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 do i uninstall programs? Michael_C15 Linux - Software 4 04-19-2005 03:44 AM
how do you uninstall programs. LinuxPadawan Linux - Software 3 04-13-2005 05:10 PM
Uninstall Programs dwpondscum Linux - Software 1 07-16-2003 09:39 AM
How to uninstall programs Comatose51 Linux - General 8 02-16-2003 02:35 PM
How do I uninstall programs zachl Linux - Software 2 06-08-2002 10:49 AM


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