How To Install shim-unsigned-x64.x86_64 on Amazon Linux 2

In this tutorial we learn how to install shim-unsigned-x64.x86_64 in Amazon Linux 2. shim-unsigned-x64.x86_64 is First-stage UEFI bootloader (unsigned data)

Introduction

In this tutorial we learn how to install shim-unsigned-x64.x86_64 on Amazon Linux 2.

What is shim-unsigned-x64.x86_64

Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments.

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

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

sudo yum -y install shim-unsigned-x64.x86_64

How To Uninstall shim-unsigned-x64.x86_64 on Amazon Linux 2

To uninstall only the shim-unsigned-x64.x86_64 package we can use the following command:

sudo yum remove shim-unsigned-x64.x86_64

shim-unsigned-x64.x86_64 Package Contents on Amazon Linux 2

/usr/share/shim
/usr/share/shim/x64-12-1.amzn2.0.3
/usr/share/shim/x64-12-1.amzn2.0.3/fbx64.efi
/usr/share/shim/x64-12-1.amzn2.0.3/mmx64.efi
/usr/share/shim/x64-12-1.amzn2.0.3/shimx64.efi
/usr/share/shim/x64-12-1.amzn2.0.3/shimx64.hash

References

Summary

In this tutorial we learn how to install shim-unsigned-x64.x86_64 on Amazon Linux 2 using yum.