Linked by Christian Paratschek on Thu 27th May 2004 16:00 UTC
Fedora Core So, there it is, the highly anticipated second release of Fedora Core. Again, I wanted to wait for a few days for things to calm down,and again, I couldn't resist updating my production system within two days after the release. Well, I'm just a Linux junkie, i guess...
Permalink for comment
To read all comments associated with this story, please click here.
re: linux buddy
by Ophidian on Thu 27th May 2004 20:59 UTC

if yum is using rpm to do the dependancy calculations then that means the situation is worse than i thought. apt does the calculations within itself and it is insanely fast. doing the equivalent through yum is sometimes 10-100 times slower when using a cached copy of the header info for both (which apt does automatically, but yum wants you specify it on the command line).

until you stated it, i had always heard that yum does the dependency calculations within itself. given how insanely slow it is at accomplishing this task, i am more inclined to believe that this is the case, otherwise redhat's own tools would feel quite a bit slower and this slowness would also affect apt as apt uses the rpm libs to do the final install of the packages.

for now i will conceed the point about apt being done in c/c++ because someone just told me he thought apt was written in perl (and if so, then that really says alot about how poorly the algorithms in yum were thought out, but after i make this post i am running off to check on all of this information i am not 100% sure about)

one thing that is definately for certain, the design considerations for yum are not for users in the real world. apt will always download and install the packages faster than yum because yum is written for people on low latency high bandwidth connections. for everyone else who isnt sitting 2 hops away from a repository, apt blows yum out of the water. apt-get update && apt-get install is way faster on broadband than yum install, let alone the speed comparason on dialup.

right now apt is by far the better tool, and it is written the "redhat way" by using redhat's rpmlib. like i stated before, the only arguements that i can see against it are that it isnt done in python (which seems to be the language of choice for EVERYTHING redhat is doing nowdays beyond kernel development) and that it stems from the debian project. there is no other real arguement that should be keeping redhat from shipping with both (i personally think they should ship both and drop up2date as it has always been buggy in gui mode, although i have never had any problems with it from the command line)

so my post in short: yum is made for networks with a local yum repository (which is why its author doesnt think it can do any wrong, as he is at duke university and runs duke's yum repository) and machines with beefy cpus (so that the dependency calculations finish sometime the same day). apt is made for everyone else who wants to just upgrade or install new packages. up2date gui mode is just a complete joke (i have never had any single peice of software just plain lock up on as many different machines as this utility).