RPM Package Manager

From Christoph's Personal Wiki
Revision as of 04:39, 1 April 2007 by Christoph (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPM Package Manager (originally Red Hat Package Manager, abbreviated RPM) is a package management system.

Usage

Example

rpm -qa |grep glibc  # returns 'glibc-version', if installed
rpm -q --whatprovides /lib/libc.so.6  # returns 'glibc-version'

RPM file names normally have the following format:

<name>-<version>-<release>.<arch>.rpm

Source code may also be distributed in RPM packages. Such package labels do not have an architecture part and replace it with "src". E.g.:

libgnomeuimm2.0-2.0.0-3.src.rpm

An SRPM is an RPM package with source code. Unlike a tarball (or an RPM), an SRPM package can be automatically compiled and installed, following instructions in the .spec file included in the SRPM.

See also

External links