How To Install efitools on Fedora 34

efitools is Tools to manipulate EFI secure boot keys and signatures

Introduction

In this tutorial we learn how to install efitools on Fedora 34.

What is efitools

This package installs a variety of tools for manipulating keys and binary signatures on UEFI secure boot platforms. The tools provide access to the keys and certificates stored in the secure variables of the UEFI firmware, usually in the NVRAM area.

We can use yum or dnf to install efitools on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install efitools.

Install efitools on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install efitools

Install efitools on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install efitools using yum by running the following command:

sudo yum -y install efitools

How To Uninstall efitools on Fedora 34

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

sudo dnf remove efitools

efitools Package Contents on Fedora 34

/usr/bin/cert-to-efi-hash-list
/usr/bin/cert-to-efi-sig-list
/usr/bin/efi-readvar
/usr/bin/efi-updatevar
/usr/bin/efitool-mkusb
/usr/bin/flash-var
/usr/bin/hash-to-efi-sig-list
/usr/bin/sig-list-to-certs
/usr/bin/sign-efi-sig-list
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/89190b898fa9c9e130d991ca6a11588c2569de
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/1609dff377db4dafd7761813b4a19373c889b6
/usr/lib/.build-id/39
/usr/lib/.build-id/39/a592838b6a2bdeabaae7c1be81dc0a1f956c67
/usr/lib/.build-id/39/f67cb97c9d742d143cd5c1cc3930f12189fa01
/usr/lib/.build-id/96
/usr/lib/.build-id/96/eb1d70016fbde6ebaf04e1a9181d1a43964bb0
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/7a0816aef844f73193f2d2b49870a6386acbd2
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/d6dbf47331e9f636d38aa62340960b01169eea
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/b7d461008749f64793acfb178414293bcc5f15
/usr/share/doc/efitools
/usr/share/doc/efitools/README
/usr/share/efitools
/usr/share/efitools/efi
/usr/share/efitools/efi/HashTool.efi
/usr/share/efitools/efi/HelloWorld.efi
/usr/share/efitools/efi/KeyTool.efi
/usr/share/efitools/efi/Loader.efi
/usr/share/efitools/efi/LockDown.efi
/usr/share/efitools/efi/ReadVars.efi
/usr/share/efitools/efi/SetNull.efi
/usr/share/efitools/efi/ShimReplace.efi
/usr/share/efitools/efi/UpdateVars.efi
/usr/share/licenses/efitools
/usr/share/licenses/efitools/COPYING
/usr/share/man/man1/cert-to-efi-hash-list.1.gz
/usr/share/man/man1/cert-to-efi-sig-list.1.gz
/usr/share/man/man1/efi-readvar.1.gz
/usr/share/man/man1/efi-updatevar.1.gz
/usr/share/man/man1/hash-to-efi-sig-list.1.gz
/usr/share/man/man1/sig-list-to-certs.1.gz
/usr/share/man/man1/sign-efi-sig-list.1.gz

References

Summary

In this tutorial we learn how to install efitools on Fedora 34 using yum and dnf.