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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-26-2003, 08:21 AM
|
#1
|
Member
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85
Rep:
|
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?
|
|
|
10-26-2003, 08:28 AM
|
#2
|
Member
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388
Rep:
|
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
|
|
|
10-26-2003, 08:32 AM
|
#3
|
Member
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85
Original Poster
Rep:
|
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 
|
|
|
10-26-2003, 09:55 AM
|
#4
|
Member
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388
Rep:
|
Doh on me 
I see it now.
lynch
|
|
|
10-26-2003, 10:39 AM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Often you can uninstall software that has been compiled from source by changing into the source directory (cd into) and issuing
make uninstall
|
|
|
10-27-2003, 05:56 AM
|
#6
|
Member
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85
Original Poster
Rep:
|
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
|
|
|
10-27-2003, 06:12 AM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
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

|
|
|
10-27-2003, 07:54 AM
|
#8
|
Member
Registered: Oct 2003
Distribution: redhat 9
Posts: 147
Rep:
|
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
|
|
|
10-31-2003, 06:44 AM
|
#9
|
Member
Registered: Oct 2003
Location: Tbilisi, Georgia
Posts: 85
Original Poster
Rep:
|
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?
|
|
|
10-31-2003, 07:00 AM
|
#10
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 10:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|