Click to See Complete Forum and Search --> : install/uninstall of programs


cotfessi
10-30-2000, 10:10 AM
I've been running Linux for about a month now. I've managed to install a few programs without too many problems. I had a question about intallation/uninstallation of programs. Is there something in linux like the registry in winbloze? If I install GAIM for example through a rpm file, is it enought to delete the directory or do programs come with a uninstall script?

Thanks,
cotfessi

Paul Weaver
10-30-2000, 10:14 AM
rpm is a package management system. What this means is it will handle things like upgrading, unistalation etc. for you.

rpm --uninstall gaim

should do the trick. There are some GUI rpm programs too which you might find helpful.

If you install from source (./configure;make;make install), you might be able to "make uninstall".

posterboy
10-30-2000, 10:14 AM
There's no registry in linux, thankfully. Uninstalling RPMS is easy, rpm -e packagename does it cleanly. You must have the exactly right package name or you will get "Blah-Blah is not installed" errors. Here's a way to be sure
rpm -qa |grep part_of_it's_name
Ray

------------------
newbie@raymondjones.net
HTTP://www.raymondjones.net

cotfessi
10-30-2000, 10:16 AM
thanks for the help

GK
04-20-2002, 02:51 AM
Here's my scenario:

I tried to install Samba and got "samba-common = 2.2.1a is needed by samba-2.2.1a-4"

So I downloaded the dependencies needed from rpmfind.net and install them. I then install Samba with no problems.

I uninstall the samba-common files and it goes through ok, but when I try to find the actual samba-2.2.1a-4 to uninstall, its not there.

I ran a "rpm -qa |grep samb" and it found the common files. It did not however show me the samba program itself.

I'm assuming it didn't install correctly or I'm doing something wrong.

Any ideas?