Sunday, January 07, 2007

yum vs apt

From wiki

The Yellow dog Updater, Modified (YUM) is an open source command line package management utility for RPM-compatible Linux computer systems.

Yum is a full rewrite of its predecessor tool, Yellowdog Updater (YUP), and was developed primarily in order to update and manage Red Hat Linux systems used at the Duke University department of Physics. Since then, it has been adopted by Fedora Core, CentOS, and many other RPM-based Linux distributions, including Yellow Dog Linux itself, where it has replaced the original YUP utility.

Yum's repository system is quickly becoming the standard for RPM-based repositories.

Advanced Packaging Tool, or APT, is a package management system used by Debian GNU/Linux and its derivatives. APT was originally designed as a front-end for dpkg to work with Debian's .deb packages, but it has since been modified to work with the RPM Package Manager system via apt-rpm, and the Fink project has ported APT to Mac OS X for some of its own package management tasks.

Some experiences here( http://www.fedoraforum.org/forum/archive/index.php/t-1034.html)
yum Pros:
Comes with Fedora by default.
Widely supported by many RPM repositories.
Fairly easy to roll your own repository.

yum Cons:
No "pinning" or other mechanisms for backing out updates.
Somewhat confusing to create a hierarchy of "trust," in terms of which repositories to use for which packages.
No graphical update/management tool.

apt Pros:
Somewhat wider support across distributions (since its a Debian tool)
Synaptic, a graphical GUI for doing updates.
"Pinning" support, and uninstall support.

apt Cons:
Not a base part of the FC package set.
Perhaps a slightly higher learning curve to use effectively.

"I personally like Yum, but thats for a few reasons... Yum is slightly easier once you learn the commands, but it does take a while to download the headers if you dont have broadband. THats probably the main advantage of APT from my point of view. On a slower connection APt works better and faster. Ask Ug, he'll testify to that fact. If youve got broadband, i would say go for yum, but make sure you know some of the basic commands first. If youre on dialup, go for APT."

0 Comments:

Post a Comment

<< Home