LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   uninstalling programs (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-programs-108651/)

fuelinux 10-26-2003 08:21 AM

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?

lynch 10-26-2003 08:28 AM

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

fuelinux 10-26-2003 08:32 AM

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 :)

lynch 10-26-2003 09:55 AM

Doh on me:)
I see it now.
lynch

Skyline 10-26-2003 10:39 AM

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

make uninstall

fuelinux 10-27-2003 05:56 AM

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

slakmagik 10-27-2003 06:12 AM

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

porous 10-27-2003 07:54 AM

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

fuelinux 10-31-2003 06:44 AM

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?

slakmagik 10-31-2003 07:00 AM

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.