How To Install efitools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install efitools.x86_64 in Amazon Linux 2. efitools.x86_64 is Tools to manipulate EFI secure boot keys and signatures

Introduction

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

What is efitools.x86_64

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 to install efitools.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install efitools.x86_64.

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

sudo yum -y install efitools.x86_64

How To Uninstall efitools.x86_64 on Amazon Linux 2

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

sudo yum remove efitools.x86_64

efitools.x86_64 Package Contents on Amazon Linux 2

/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/share/doc/efitools-1.9.2
/usr/share/doc/efitools-1.9.2/README
/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-1.9.2
/usr/share/licenses/efitools-1.9.2/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.x86_64 on Amazon Linux 2 using yum.