How To Install rpm-sign on Rocky Linux 8

In this tutorial we learn how to install rpm-sign on Rocky Linux 8. rpm-sign is Package signing support

Introduction

In this tutorial we learn how to install rpm-sign on Rocky Linux 8.

What is rpm-sign

This package contains support for digitally signing RPM packages.

We can use yum or dnf to install rpm-sign on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rpm-sign.

Install rpm-sign on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rpm-sign using dnf by running the following command:

sudo dnf -y install rpm-sign

Install rpm-sign on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rpm-sign using yum by running the following command:

sudo yum -y install rpm-sign

How To Uninstall rpm-sign on Rocky Linux 8

To uninstall only the rpm-sign package we can use the following command:

sudo dnf remove rpm-sign

rpm-sign Package Contents on Rocky Linux 8

/usr/bin/rpmsign
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/1cea53980bb5cff6a4910b9306f4454881f7c2
/usr/share/man/man8/rpmsign.8.gz
/usr/bin/rpmsign
/usr/lib/.build-id
/usr/lib/.build-id/ad/e7d527c61a745c9b5368e28fe8d4d546daf1be
/usr/share/man/man8/rpmsign.8.gz

References

Summary

In this tutorial we learn how to install rpm-sign on Rocky Linux 8 using yum and dnf.