LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-26-2003, 09:21 AM   #1
fuelinux
Member
 
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85

Rep: Reputation: 15
uninstalling programs


hi all,
i have a question about uninstalling programs. is there any file where linux keeps a list of installed programs and how is it possible to uninstall them? i mean is there something like Add/Remove Programs under linux?
should i keep untared files on disk after program is installed or can i delete them?
 
Old 10-26-2003, 09:28 AM   #2
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
RPM has an erase option that's supposed to work
Depending on package type and distribution the answer is yes.
You can install/uninstall rpms in kpackage,rpmdrake,YaST2.
Some well-packaged tarballs have an uninstall script,others dont.
Slackware and Debian have uninstall options with thier package management systems.
What distribution of Linux are you running?What kind of package do you want to uninstall?
lynch
 
Old 10-26-2003, 09:32 AM   #3
fuelinux
Member
 
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85

Original Poster
Rep: Reputation: 15
info down of my nick says: Slackware 7.1 lol
currntly i'm not going to uninstall anything, just wondered if i can though.
thanks for reply
 
Old 10-26-2003, 10:55 AM   #4
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Doh on me
I see it now.
lynch
 
Old 10-26-2003, 11:39 AM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Often you can uninstall software that has been compiled from source by changing into the source directory (cd into) and issuing

make uninstall
 
Old 10-27-2003, 06:56 AM   #6
fuelinux
Member
 
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85

Original Poster
Rep: Reputation: 15
so i assume i have to keep unarchived source on disk. it takes lots of space sometimes though especially with my 1 GB drive lol

thanks for replies, guys
 
Old 10-27-2003, 07:12 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I think checkinstall works on pre-8 slacks, though maybe you need an older checkinstall. It'll turn the program you compile into a slack package you can uninstall with removepkg.

./configure
make
checkinstall
*yuck*
removepkg

 
Old 10-27-2003, 08:54 AM   #8
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
rpm -e <package name> //unistall rpm package

dont forget to check the man page , there are other option which
will be handy regarding dependencies...

think twice before you hit enter , if you havent made the alias
rm = rm -i
 
Old 10-31-2003, 07:44 AM   #9
fuelinux
Member
 
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85

Original Poster
Rep: Reputation: 15
You can do
make uninstall

if there is a script uninstall.sh in the source directory.
recently I have installed opera (a well known web-browser) and it has no uninstall script at all. So now I can't uninstall it and it uses about 20 MBs of my disk space.
I just wonder, does Slack 7.1 has anything like uninstall wizard or something like that? So I could choose which programs to uninstall?
 
Old 10-31-2003, 08:00 AM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If it's a *.tgz, you just do 'removepkg'. If you want to see the full list, you can look in /var/log/packages or run 'pkgtool' and call up the 'stuff I can remove' list. If you compiled from source and didn't use checkinstall and it has no uninstall script, you basically have to hunt through and remove it all by hand.
 
  


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 jogurt666 Linux - Software 5 11-13-2003 07:49 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:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration