What is rpm?

RPM Package Manager(RedHat Package Manager) is a convenient way to distribute software for Linux systems.

What is a package?

A package is simply a collection of files bound together within an rpm file. Source rpms are used to distribute the original source code of an application and are identified by their suffix, .src.rpm Binary rpms are pre-compilied for a specific type of machine architecture with a suffix that depends on the architecture; usually, i586.rpm for Mandriva users.

Where do I find more detailed information about rpms?

There are four very good sources, read them in this order: the man page, the HOWTO at http://qa.mandriva.com/twiki/bin/view/Main/RpmHowTo also from http://rpm.org/ and the RPM book from O'Reilly.

What is the purpose of this document?

Really short, quick answers for future Mandriva Guruz!

Should I get an i686 rpm because it is better then an i586 rpm?

The origin Pentium processor is the "i586" architecture. The Pentium II/III/IV processors are all "i686" architectures. All of these are backwards compatible with previous architectures. You'll find lots of "i386" rpms around that will work with any processor.

Should I install an rpm that I found on some website?

Generally speaking, stick to mandrake-provided rpms. And when possible, stick to rpms that within your version of Mandriva (ie: installing random rpms from Mandriva 2006 might not work well with your Mandriva 2007 system.)

What about rpmfind.net?

I think rpmfind.net is useless with a mandrake installation. All it does is help you find the wrong version of the software you actually want. Look at the 'Mandriva URPM* Tools' section elsewhere on this site for a better way to find rpms.

All rpm commands hang, including urpmi, rpmdrake, and MandrivaUpdate, what's up with this crap?

A previous rpm command was interrupted (see my page on kill -9) and left behind database lock files. To fix this, run the following command as root user:

rm -f /var/lib/rpm/__*; rpm --rebuilddb