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? |
RPM has an erase option that's supposed to work:rolleyes:
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 |
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 :) |
Doh on me:)
I see it now. lynch |
Often you can uninstall software that has been compiled from source by changing into the source directory (cd into) and issuing
make uninstall |
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 |
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 :D |
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 |
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? |
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 12:16 PM. |