Red Hat introduced RPM in 1995. RPM is now the package management system used for packaging in the Linux Standard Base (LSB). The rpm command options are grouped into three subgroups for:
To get the most from the tutorials in this series, you should have a basic knowledge of Linux and a working Linux system on which you can practice the commands covered in this tutorial. Sometimes different versions of a program will format output differently, so your results may not always look exactly like the listings and figures shown here. In particular, much of the output we show is highly dependent on the packages that are already installed on our systems.
.
Using RPM
Finding RPM Packages
Installing
Uninstalling
Upgrading
Freshening
Querying
Verifying
Checking a Package's Signature
Importing Keys
Verifying Signature of Packages
Practical and Common Examples of RPM Usage
Creating a RPM Packages
create your rpm build env for RPM
create the tarball of your project
Copy to the sources dir
build the source and the binary rpm
Building a "Hello World" RPM
Inside a .spec file
Building the package
A complete hello.spec file
The mock builds
Active Tab:
Previous Tab: