Debian's apt-get vs Mandrake's urpmi?
Deven Phillips asks: "I have been using Linux-Mandrake for quite a while now, and I wanted to know what Slashdotters think of the two rival package management systems available for Mandrake: apt and urpmi. I have been playing with both (apt is available in the Contribs section), and I have to say that so far urpmi is winning. I have always heard that apt-get is the best, so I am surprised by my conclusions. Am I missing something? Is apt for RPM not as mature as the deb counterpart?" I, for one, would have liked to have heard the reasons as to why Deven feels that urpmi is superior, but maybe there are a few of you out there who feel the same way, that can communicate this as well as he can. For those of you who have tried both, what features do you like out of the two of them, and which tool serves your needs the best?
Real men just download the entire contents of slackware-current :)
Actually, I would say that the two packages are functionally equivalent, since the "cross pollination of ideas" was more than evident in this case. So, both Debian and Mandrakesoft can be commended in their creation of two very nice software management system. Most people would say that apt-get is the equivalent to the "install-anywhere" program so prevalent in Windows. Development of easy installation programs such as these help improve Linux's acceptance in the IS world today.
------------
a funny comment: 1 karma
an insightful comment: 1 karma
a good old-fashioned flame: priceless
this sig limit is too small to put anything good h
Mandrake 8 (and possibly earlier releases) comes with a tool called MandrakeUpdate. It's a rather nice GUI tool similar to Ximian Update, for all you gnome users. I haven't tried it much due to my 80 gig hdd croaking, but from what i saw it was pretty nice.
I am !amused.
Is emacs better than vi?
Is gnome better than KDE?
Is AMD better than Intel?
Is Mandrake better than RedHat?
Is red better than blue?
OK, enough for now... Let the flames begin.
Opus: the Swiss army knife of audio codec
When people talk about how great apt is, they're really talking about how great Debian as a whole is. One thing that really impressed me in to moving from Mandrake to Debian a while back was that Debian felt whole. It was a system, where Mandrake felt like a bunch of packages thrown together.
With apt, you not only get your package dependencies solved along with the latest software, you get the work that was put in to making Debian a coherent system that adheres to the Debian policy. You get a specific maintainer for each package who will (almost) always respond promptly to emails about bugs and such. You can get a ton of help on Debian's mailing lists. You yourself can even become a maintainer if you've got the gusto to do so. Granted, Mandrake covers a lot of these areas (and has a nicer install) but Debian feels like a system, where every other distro I tried just felt like a bunch of packages. Granted, I haven't tried Mandrake in a while, but somehow I just don't think what they're doing will match up to Debian's volunteer maintainer model, even now.
"I may not have morals, but I have standards."
"I may not have morals, but I have standards."
When people say "apt-get" is best, they usually arn't referring to the tool itself. While it is a decent tool(as is dpkg, which is what does the actually package installation and maintenance), what really makes Debian so good is the packages themselves.
:) What I *am* saying is that the tool used to install the packages is a fairly minor issue. What's more important is the time the maintainers put into the packages themselves.
:)
All Debian packages are put together by volounteers. Of course, some get paid. But I don't know of any that are currently getting paid, that wern't volounteers first. apt-get is just a tool. What *really* makes the difference is the time spent on the packages themselves. Mandrake, Red Hat, and the rest only have so many people. Each has to take care of dozens of packages. They just can't spend as much time on them. In Debian, most of the ~7000 current packages, most maintainers just take care of two or three related packages. They usually use them, too. So most maintainers take their time and do things right.
I'm not saying Red Hat or Mandrake arn't any good
That being said, apt-get was written from the ground up with dpkg in mind. It can be ported to use rpm(obviously), but I don't doubt that urpmi works better(when it comes to dealing with rpms)
Barclay family motto:
Aut agere aut mori.
(Either action or death.)
Barclay family motto:
Aut agere aut mori.
(Either action or death.)
I guess you should probably use the package installer that's native to the distribution you're using. That way you can be sure to get all the right bits, with the correct libs, etc...
The good thing with debian is that almost everything you're likely to need is right there on their servers, you don't have to go and find the packages on some server somewhere. For example I wanted to install apache and squid last week, I typed one command, it downloaded all the stuff, and within a minute or two of waiting for the downloads (I didn't have to type anything) both were configured and running. If your system is also that easy, then stick with it.
While I would have to agree with the crowds of Debian users here that apt-get is indeed a superior tool to whatever Mandrake is using these days, I would have to disagree on the ultimate choice of best software package management system.
Now, Linux is a great operating system in general, and I love the apt-get part of Debian in particular, but why does it have to be on the command line? I hardly think that the average person, say, my grandfather, for example, would be able to deal with learning all the arcane aspects of a command line utility. To most, it is just too frustrating, poorly documented, and complicated. What we really need in a modern operating system is a package manager that the average Joe or my grandfather could use.
Why hasn't anyone mentioned Windows Update yet? Not only is it a fully graphical tool, but it automatically detects what software your computer needs, without sending that information to a third party, and then gives you an easy install wizard to update everything. Sure, some things may require a reboot, but there is a lot of Linux software that also requires a reboot to function properly. Personally, I think it is a far superior tool to apt-get, because it can also make recommendations on what kind of cool new screen saver you might want to check out, or update DirectX to improve your gaming framerates and such.
And, of course, it is very handy for patching all those security holes that invariably pop up in MS software, such as the notorious Outlook holes that have caused more than one system administrator a headache. Think about it, if an update tool is easy enough for the average user to utilize, then we won't have to worry about upgrading everyone's Linux machines when the latest BIND or Sendmail exploit hits Bugtraq. It would greatly improve the image of Open Source software when no one goes on a massive hacking spree and compromises a ton of machines for their DDoS wars.
Is your company running tools written by ma
--
"Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
A history of the eternal battle of red versus blue, in different contexts.
Monty Python and the Holy Grail:
"Red! No, blue! Aaaaahhhh!"
Red: 1, Blue: 0
The Matrix:
"Take the Blue pill and you wake up and believe whatever you want to believe. Take the Red pill and I show you how deep the rabbit hole goes."
Red: 2, Blue: 0
Pokemon:
Charizard, a fire pokemon, is weak to Blastoise, a water pokemon
Red: 2, Blue: 1
Google:
Searches for "red": 23.6 million
Searches for "blue": 17.3 million
Red: 3, Blue: 1
Cold War:
Red = Commie Bastards!
Blue = Good Americans!
Red: 3, Blue: 2
It seems that Red has still eaked out a narrow win over blue... For this time!
-Ted
First, Mandrake distros (with exception of "corporate server" and "MandrakeSecurity", which target different public) are always extremly up-to-date, while debian takes forever to issue a new distribution.
;-)
.-) And.. do not bother porting urpmi to debian - it will be just as useless there, as apt is on a Mandrake system.
Obviously, slower developement cyclus means that there is more time to take care of details... Unfortunate side-efect is that many "stable" debian packages tend to be very obsolete.
Second, there is no such thing as third-party debian package, while third-party rpm packages are abundant. Quite obviously, updating a system with tons of third-party packages is a rather difficult task.
Third, average debian user is far more knowledgable than average Mandrake user. (He has to be, simply because getting a debian system up and running is by far more difficult than doing the same thing with Linux-Mandrake.) Therefore, things which some Mandrake user reports as "evil mandrake stuff" (like: I installed some cooker packages, had to force the install, because it kept requiring some "dependencies", and guess what? now my system is broken!!!) would never be reported as such by debian users.
There is more, but I think you got the message: things aren't as simple as they look from a high debian-guru ivory tower.
As for apt-get and urpmi question, things ARE rather simple: urpmi is better than apt if you use Mandrake distro, simply because Mandrake distro and urpmi were built with each-other in mind. I can think of only two cases when using apt-get on mandrake distro makes sense:
1) ex-debianers which are familiar with apt will obviously prefer to use the known tool
2) urpmi (and co.) make a local database of all rpm repositories, and updating the DB takes some time. Therefore, apt may be a better tool for people who often update their systems using cooker rpms. (this may have been adressed already, I haven't checked lately.
In case you use Debian, there is no urpmi, so apt is definitively better.
The real question is not "which package system is better?", but "which distribution does the best job of managing their releases and updates?"
I don't care what system they use - my priorities (aside from correctness issues) are:
I don't want to install 30 packages just to get PHP working. And why does every single Red Hat app seem to require Apache (RPM) and PHP (RPM)?
And avoid requiring ancient versions of, say, zlib, that won't play well with newer apps.
That is, does it present dependencies clearly and show you release notes and advisories. I'd like to know *why* Apache has been updated, so I know if it really affects me.
If I have to resort to source in an emergency, it defeats the whole point of packaging.
By the way, I'm a huge fan of source installs for apps, becuase I find them much easy to configure and upgrade than packages. But I'd love to use RPMS if it were practical.
-Loopy
Second, there is no such thing as third-party debian package, while third-party rpm packages are abundant.
:)
Of course there are third party Debian packages. I see project sites all the time these days offering their own deb packages. Additionally (and even better) they offer their own apt-get URLs for people who wish to use their third-party Debian packages. Currently, my sources.list includes three such lines. One for E17, one for efm, and one for gabber.
Third-party packages was also the only way to get KDE packaged for Debian until it was finally included.
Now of course, they will not be nearly as abundant as RPMs simply because of the number of RPM-based distros out there, and the ease of making RPMs as opposed to DEBs. But they are there, even if there isn't a debfind.net yet