Uninstalling


Recommended Posts

alright so i am doing good with Redhat so far, now to go a little further...haha how to you uninstall something in Redhat. I dunno have been using windows all these years. Say i wanna unstaill Winex3, and i did a default installation, how would i go about getting it uninstalled?

Link to comment
Share on other sites

alright so i am doing good with Redhat so far, now to go a little further...haha how to you uninstall something in Redhat. I dunno have been using windows all these years. Say i wanna unstaill Winex3, and i did a default installation, how would i go about getting it uninstalled?

In Debian, anything you install via apt-get you can uninstall using the same process.

In Redhat you can use apt4rpm and it should do something similar.

I don't know if there is a comprehensive way to uninstall a RPM short of deleting all the related folders and configuration files but I'll let a Redhat/Mandrake user answer that.

Link to comment
Share on other sites

Do a man rpm

There is a remove option, though I don't recall what it is at the time.

Link to comment
Share on other sites

so linux is pretty much like os x where if u wanna get rid of something you just delete the folder and ur all set huh...

not exactly. in redhat use the rpm system to get rid of packages.

Link to comment
Share on other sites

rgr that, i am asuming man rpm the rpm..lol

:wacko: Ummm... man rpm means to open the manual page for the rpm program. Like man fstab will open the manual for the fstab file. Try doing a man on XF86Config (remember case-sensitive). All sorts of built-in detailed help on commands and important system files, and shell statements (and more!)

Link to comment
Share on other sites

There are many different ways to install/uninstall in linux. I will tell you a few.

Concerning red hat / fedora / suse / mandrake and some others:

These are "rpm" based distributions. To install a package you could obtain the .rpm (take gaim for example) file and install it with "rpm -ivh gaim-X.X-X.rpm" where X is the version number.

RPM (or red hat package manager, I think) will check for dependancies (other programs that gaim needs in order for it to be installed or run correctly), and if the dependancies are already present it will go ahead and install gaim. The pain with this is that when you try to install a more complicated app then you need to hunt down all the dependancies associated with it. Gaim may need mozilla-nspr, gaim-encryption, gtk+, etc etc etc installed before you can install gaim itself. So you are stuck searching for these other apps all the time.

To uninstall a program you would run "rpm -e gaim-X.X-X.rpm" and it will remove gaim.

red hat, mandrake, suse, fedora etc etc, also have apt-for-rpm. Which will automatically resolve the dependancies for you.

So if I were to install gaim, instead of hunting down all these dependancies myself, I would simply type "apt-get install gaim". Apt would automatically install gaim and everything else that I need with it. To remove a package this way I would type "apt-get remove gaim" (correct me if I am wrong .. been a while since I have used apt-get). This will also remove any package that is dependant on gaim as well. An example would be if you had gtk2 installed and you wished to remove it , gaim would also be removed, since it is dependant on gtk2.

read about apt-get on www.freshrpms.net

Another way is using a package manager called "yum". Yum is similar to apt-get in that it will automatically install/remove all dependancies.

You can use yum on red hat as well.

I believe more on yum can be obtained on freshrpms, and google.

Since you are using redhat you should look at either yum or apt for rpm.

Other distros use different ways of installing programs

Mandrake - urpmi or apt-get

Debian - dpkg/apt-get

gentoo - emerge

arch - pacman

slackware - installpkg or swaret or slapt-get

then there is the basic "./configure && make && make install" (with "make uninstall" if you are lucky)

and there are others, and they all have their strengths and weaknesses

as for the manpages; "man rpm" from your terminal will show you the manual pages for rpm. To find out more on any program always check the manpages. They will give you switches and options for the particular program.

some basic switches for rpm are

-i is install

-U is upgrade

-e is remove

-v is verbose (?)

if i am wrong on anything please someone correct me

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.