How To Install pesign.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pesign.x86_64 in Amazon Linux 2. pesign.x86_64 is Signing utility for UEFI binaries

Introduction

In this tutorial we learn how to install pesign.x86_64 on Amazon Linux 2.

What is pesign.x86_64

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

We can use yum to install pesign.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pesign.x86_64.

Install pesign.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pesign.x86_64 using yum by running the following command:

sudo yum -y install pesign.x86_64

How To Uninstall pesign.x86_64 on Amazon Linux 2

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

sudo yum remove pesign.x86_64

pesign.x86_64 Package Contents on Amazon Linux 2

/etc/pesign/groups
/etc/pesign/users
/etc/pki/pesign
/etc/pki/pesign/cert8.db
/etc/pki/pesign/key3.db
/etc/pki/pesign/secmod.db
/etc/popt.d/pesign.popt
/etc/rpm/macros.pesign
/usr/bin/efikeygen
/usr/bin/pesign
/usr/bin/pesign-client
/usr/lib/systemd/system/pesign.service
/usr/lib/tmpfiles.d/pesign.conf
/usr/libexec/pesign/pesign-authorize-groups
/usr/libexec/pesign/pesign-authorize-users
/usr/share/doc/pesign-0.109
/usr/share/doc/pesign-0.109/COPYING
/usr/share/doc/pesign-0.109/README
/usr/share/doc/pesign-0.109/TODO
/usr/share/man/man1/efikeygen.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.x86_64 on Amazon Linux 2 using yum.