RPM - What's New in Version 4.0?
rafa asks: "Red Hat has recently upgraded their RPM system from the 3.x to 4.0 in the the Red Hat 7.0 distribution. The RPM Web site hasn't been upgraded since sometime in 1999. What has changed since RPM 3? What improvements have been made, and why did they chose to break compatability?"
Well, actually, an RPM is just a tarball with dependency information. How primitive.
Debian packages, on the other hand, are tarballs with dependencies and configure/uninstall scripts. Now there's a tarball you can take home to mom
RPMs can have configure/install/uninstall scripts, and more besides. And it has done since version 2 (probably before then, I can't remember right now).
I like Debian too, but please know what you are posting is actually correct before proclaiming Debian as having the best packaging system (which it may have, but not for this reason).
Many of the features of older versions of RPM can be found in the freely downloadable book `Maximum RPM' at rpm.org, where there is some documentation. But not for rpm 4.0, as the poster mentioned.
pastie
Can a user install packages without being root? I mean, most of the time you would install as root, but for some cases, like games, applications or the like, you should be able to install yourlelf... into your own home directory.
I've had to use tarballs to install IRC clients, Zmodem protocols, games and more on remote systems.
Without user-mode installations, it is just one more reason to give mobile users root access to their own systems.
I'm not a big fan of package management, it has caused me to rebuild more systems than manually solving dependencies has ever. As soon as somebody starts using the phrase "You'll have to rebuild if your corrupt your XXX" where XXX != "Filesystem", it generally means that XXX is a bad idea.
I have to get around to reading that Maximum RPM book...