Nuget Training

About

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:

Objectives

  • Querying and verifying packages
  • Installing, upgrading, and removing packages
  • Performing miscellaneous functions
  • We will focus on the first two sets of command options in this tutorial. You will find information about the miscellaneous functions in the man pages for RPM.

Pre-requisites

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.

Features

.

Agenda

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: