How To Install pesign on CentOS 8
Introduction
In this tutorial we learn how to install pesign
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pesign.
Install pesign on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install pesign
using dnf
by running the following command:
sudo dnf -y install pesign
Install pesign on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the pesign
package we can use the following command:
sudo dnf remove pesign
pesign Package Contents on CentOS 8
/etc/pesign/groups
/etc/pesign/users
/etc/pki/pesign
/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/0d
/usr/lib/.build-id/0d/733e5d82c478ca8bd602c32d6bd74200756ca7
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/8851f989c0ece06f34b6bad4675eb3eba5efae
/usr/lib/.build-id/88
/usr/lib/.build-id/88/51d65229a0da8f08057598d61a919e263feb95
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/670ea1d775c8e2bedd13defc2683df91b5909f
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/61137b0807ae4214ef14e6f08bf2e1a2baf79b
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/143b7944eb789e2b979df45dec0e247e7064ef
/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 CentOS 8 using yum and dnf.