How To Install pesign on Rocky Linux 8

In this tutorial we learn how to install pesign on Rocky Linux 8. pesign is Signing utility for UEFI binaries

Introduction

In this tutorial we learn how to install pesign on Rocky Linux 8.

What is pesign

This package contains the pesign utility for signing UEFI binaries as well as other associated tools.

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

Install pesign 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 pesign using dnf by running the following command:

sudo dnf -y install pesign

Install pesign 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 pesign using yum by running the following command:

sudo yum -y install pesign

How To Uninstall pesign on Rocky Linux 8

To uninstall only the pesign package we can use the following command:

sudo dnf remove pesign

pesign Package Contents on Rocky Linux 8

/etc/pesign/groups
/etc/pesign/users
/etc/pki/pesign
/etc/pki/pesign-r-test
/etc/pki/pesign-r-test/cert9.db
/etc/pki/pesign-r-test/key4.db
/etc/pki/pesign-r-test/pkcs11.txt
/etc/pki/pesign-rh-test
/etc/pki/pesign-rh-test/cert8.db
/etc/pki/pesign-rh-test/key3.db
/etc/pki/pesign-rh-test/secmod.db
/etc/pki/pesign/cert8.db
/etc/pki/pesign/key3.db
/etc/pki/pesign/secmod.db
/etc/popt.d/pesign.popt
/usr/bin/authvar
/usr/bin/efikeygen
/usr/bin/efisiglist
/usr/bin/pesigcheck
/usr/bin/pesign
/usr/bin/pesign-client
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/509a0ba5fbd9dfc29269aa07f46f3700d8b0a3
/usr/lib/.build-id/36
/usr/lib/.build-id/36/087938dcc652cccfa3c9ba1dd06d46e9592485
/usr/lib/.build-id/49
/usr/lib/.build-id/49/6f2eb79adf23b35a23852ad810a7e8d4b15cdc
/usr/lib/.build-id/72
/usr/lib/.build-id/72/2f3cdacc45923e1a4e055f48f44c3ad84e8a69
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/cabd86a95604d14fb860ffb81b086a03afb600
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/34424fe11f1bd1116f5420677899001c915a06
/usr/lib/python3.6/site-packages/mockbuild/plugins/__pycache__/pesign.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mockbuild/plugins/__pycache__/pesign.cpython-36.pyc
/usr/lib/python3.6/site-packages/mockbuild/plugins/pesign.py
/usr/lib/rpm/macros.d/macros.pesign
/usr/lib/systemd/system/pesign.service
/usr/lib/tmpfiles.d/pesign.conf
/usr/libexec/pesign
/usr/libexec/pesign/pesign-authorize
/usr/share/doc/pesign
/usr/share/doc/pesign/README
/usr/share/doc/pesign/TODO
/usr/share/licenses/pesign
/usr/share/licenses/pesign/COPYING
/usr/share/man/man1/authvar.1.gz
/usr/share/man/man1/efikeygen.1.gz
/usr/share/man/man1/efisiglist.1.gz
/usr/share/man/man1/pesigcheck.1.gz
/usr/share/man/man1/pesign-client.1.gz
/usr/share/man/man1/pesign.1.gz
/var/run/pesign
/var/run/pesign/pesign.pid
/var/run/pesign/socket

References

Summary

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