Saturday, March 22, 2008

Linux Package Management

One of the main things I like to teach the new linux user is the idea of linux packages. The two main package systems out there are rpm and deb.

Red Hat Package Manager (RPM) - This is a package system that is based from the Red Hat Linux distro. This package management system is still heavily influenced by Red Hat. Any distribution that is based off of rpm packages is usually derived from Red Hat, or a derivation of a derivation or so on. In my opinion rpm based distributions usually have a more business feel to them. They feel little more professional oriented. They aren't done more professionally or look better per say but feel like they should be in a business environment rather than a personal desktop.

Debian Package Management (DEB) - This is a package system that is based from the Debian distribution. Most distributions based from the debian package system feel like they are made more for the personal desktop. Debian is a lot more community based than rpm based distros giving it more options it seems. Ubuntu is a debian based distribution. I prefer debian based distributions because it seems to work faster than rpm based distros when installing packages and seem more designed for personal use instead of the corporate situation. Part of this is also just because I have used debian distros more than rpm based distros so they are just what I feel more comfortable using.

There are other package systems too. Slackware has its own package system, as well as gentoo, arch and I am sure there are many others out there.

I am not really well versed in the different packages but that is a general idea of the difference.

With most debian distributions the way I install packages is by using the command apt-get.
In Ubuntu:

sudo apt-get install *

In Debian:
you must have root privelages

apt-get install *

In RPM distros:
you must have root privelages

yum install *

I think these commands are right. I know the debian and Ubuntu commands are right but like I said I am not too familiar with RPM distros. Hope this informs and helps.

Thanks and God bless,

No comments: