Operating Systems > Linux and UNIX

What's the best package management system?

(1/3) > >>

Calum:
i have heard of debian packages, slackware packages and red hat packages. Also you can get source code as a zipped archive or as a source rpm. in the absence of any other real deciding factor of 'what's the best distro', i think this is the one that i want to consider most important.

I am planning on replacing my computer next month and am hoping to get a new OS to put on there (i already have the last two versions of mandrake but want to use something other than it). it will likely be a linux, but which one? the supported package systems will be a major deciding factor, and to a lesser extent ease of initial system installation. Also, i'll need to be able to install openoffice and KDE (or GNOME if it's stable) on it for my girlfriend as both she and i will be studying as of the start of february. Need i say it should be as solid as a rock too (mandrake was not quite up to this task).

So, key points to consider:

1) are there any other package formats out there? (are there any non linux ones that are portable for instance?)

2) are there any good convertors from one format to the others available? I mean reliable ones. Really 100% reliable.

3) which distros support what package formats?

4) I know everybody will say 'debian package format is best, but i don't use it'. What are the pros and cons of the package formats you have tried?

Basically i'm not really after a dot point answers list from people, just some things to consider. ALso, i'm not really after a hyper specific 'what's the best for me' thing, just interested in what you guys and possibly gals think as i think package management is the key issue to decide between distros for me at the moment.

thanks in advance.....

voidmain:
For the most part you can only use package in the format of your package management system of your installed OS. That is *.deb packages for Debian and Debian based systems. *.RPM for Red Hat, Mandrake, SuSe, Connectiva, etc, although not all RPMs work on all RPM based systems, most are targeted to specific distros. Then there is pkgadd packages in Solaris, AIX has it's own package management system, etc. There may be tools to convert some package types to others but I don't believe any are very mature.

The commononality between systems is the source itself. Someone has to take that source code and create a package for the targeted system if you want to be able to use the package management tools of that OS to install the package.

Now as far as which one is best, you will probably get as many answers for that as you will for the question "which Linux distro is best?". I like apt-get (Debian package management for *.deb files). I believe it has a few slight advantages to RPM. But I also happen to have a slight preference for Red Hat overall to Debian. I can't use *.deb packages on my system but I have found that there is a utility for Red Hat called "apt" which gives me the added apt-get functionality that is included with Debian's apt. The only real difference is it works with RPMs rather than Debian packages:

http://voidmain.kicks-ass.net/redhat/redhat_8_apt-get_must_have.html

I know that probably doesn't answer your question exactly. Another thing is you just can't take Solaris binary executables contained in Solaris packages and run them on other operating systems so you really can't make a package conversion utility. Unless you are converting a source package.

[ December 16, 2002: Message edited by: void main ]

Calum:
hmm, but what if i had a red hat rpm with a binary for linux running XFree, and i wanted to run it under slackware? could i run macicalmysteryconverter2.3 on it and turn it into a tgz package (assuming the utility works) or is it just not possible to have such a utility?

What's the package format for OSX now i think about it? and will rpms work on debian or am i stuck with only .deb and source if i get debian? it would irritate me that an rpm containing binaries for X couldn't be installed on a debian or slackware system, you know? Also, many binaries are compatible across more systems than they have been tested on. Many red hat rpms have installed and run no problem on my various mandrake systems from 8.0 up. And that's different red hat rpms from 5 or 6 up. And i am sure many other distros can run each other's rpms too, so why should some deb packages also not translate perfectly? if only they could be converted to some useful format.

what i'm saying is, if it would run on there, can it be converted? I know trying to run one binary on another OS is doomed from start to finish (WINE will always be a failure to me for instance, even though i might be forced to use it soon when my university expects me to use shockwave   :(   )  but that's off topic!

i know i said be general, but here's a specific (selfish) question as an on topic aside!: basically i will be choosing from one of these two sites to buy linux cds from:

https://select.worldpay.com/i/46387/order.html
http://www.linuxemporium.co.uk/cheap.html

which gives me a choice of:
red hat
pink tie (clone of red hat)
slackware
debian
freeBSD
gentoo
vector linux (user friendly slackware)
turbolinux
progeny (based on debian)
best linux (similar to red hat)
storm linux
corel linux

now i don't give a single hoot about 'what's best' from this lot, but if anybody has any knowledge about which of these has what package management then please add two cents worth or more. i will be looking it all up for myself too, but again i blather and blither, sorry, back to the general discussion i think, or it'll just be another 'calum asks for help' thread!   :D  

One last thing, void main, i take it that apt for rpm works only with rpms, and NOT with deb packages? i know you just said that (or i think you did) but i just ask it because i had hoped that the apt thing would work with real debian packages, and now i see it is just the same excellent setup but for rpms rather than debs.

[ December 16, 2002: Message edited by: Calum ]

voidmain:

quote:Originally posted by Calum:
hmm, but what if i had a red hat rpm with a binary for linux running XFree, and i wanted to run it under slackware? could i run macicalmysteryconverter2.3 on it and turn it into a tgz package (assuming the utility works) or is it just not possible to have such a utility?

--- End quote ---


There are RPM utilities to extract the files out of an RPM without having RPM installed. However in addition to processor concerns of binaries (PPC vs x86 etc) these binary executables usually are compiled and linked to shared libraries. In order for them to run you must have the same shared libraries in the distribution you want to install them on (this is mostly what people are referring to when they say "dependency hell"). So unless you want to have every version of every library installed on your system I think it would be more beneficial to just get the source file in the form of (*.tar.gz) and "make;make install". However, the preferred method would be to get the package (RPM, *.deb, etc) targeted to your specific system so it can be properly managed in the dependency database and make for easy removal or verification. If you don't have a package for the app you want in a package targeted for your system  the next best option is the base source code.

Calum:
hmmm... look at this:

http://www.freshmeat.net/programs/alien/
 
quote:Alien is a program that converts between the rpm, dpkg, stampede slp, and
slackware tgz file formats. If you want to use a package from another
distribution than the one you have installed on your system, you can use
alien to convert it to your preferred package format and install it.
--- End quote ---


 
quote:(from another board)
An advantage of this, is that someone can give you a .tar.gz, you can
"alien'ify" it for your native package manager, install it through that
package manager, and then easily remove it later.  So, even if a ISV ships
you a package that is LSB compliant, but is a tar.gz, you can use alien to
LSBify it a bit more.
--- End quote ---


not tried it, not sure how well it works, but apparently it 'works on binary level' so i expect limited results.

Navigation

[0] Message Index

[#] Next page

Go to full version