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?
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.
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.)
--
"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?"
- Apt has libraries to ease the life of anyone who wants to create front-ends. As a result you have:
- Gnome-apt
- aptitude
- console-apt
- etc. etc. etc
(Check on your facts)
Apt has many front-ends, mostly on the text screen, but 'graphic' and useful.
Debian isn't targetting the average Joe Schmoe, or at least not in its current status.
Windows Update is not even comparable to apt-get, because it only updates a very small subset of the installed software. In Windows, every piece of software has its own code to update itself from the web (Except MS software, perhaps).
Windows Update does not handle libraries upgrades/etc as well as apt-get, because Windows hardly has any package management for installed libraries (apart from that useless registry list of DLL's) at all, not to mention any other shared files/resources.
In summary, Windows Update may be useful to upgrade those 4 or 5 apps you mainly use, but apt-get can upgrade any one of the ~7000 packages you potentially install (Due to conflicts, its actually probably a ~1000 less than that).
Apt-get has libraries allowing easy creation of front-ends, and various ones already exist.
Get a clue.
A Few points...
Anyway, enough diversions. I'm going back to reinstalling Debian a machine that was once running Mandrake for a while. "urpmi", although nice, didn't hold a candle to "apt-get" -- and this is precisely the reason I'm switching the distro back. Mandrake's stuff does have an easy enough graphical frontend, however.
Really quick, however... my largest complaints with urpmi are, as follows:
For what it's worth, console-apt (and using apt-get by itself too, of course) usually suffices for me, but I would love to see a useable GTK+ based frontend for Debian's package system one of these days. I think a lot of other people would like that as well.
If we had the concepts of Red Carpet, the slickness of Windows Update, the widespread use of urpmi, and the power of apt-get all rolled into one tool, it would truly be the killer upgrade apt -- err -- I mean app. (:
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.
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