How To Install shim-x64 on Rocky Linux 8

In this tutorial we learn how to install shim-x64 on Rocky Linux 8. shim-x64 is First-stage UEFI bootloader

Introduction

In this tutorial we learn how to install shim-x64 on Rocky Linux 8.

What is shim-x64

Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments. This package contains the version signed by the UEFI signing service.

We can use yum or dnf to install shim-x64 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install shim-x64.

Install shim-x64 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install shim-x64

Install shim-x64 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install shim-x64 using yum by running the following command:

sudo yum -y install shim-x64

How To Uninstall shim-x64 on Rocky Linux 8

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

sudo dnf remove shim-x64

shim-x64 Package Contents on Rocky Linux 8

/boot/efi/EFI/BOOT/BOOTX64.EFI
/boot/efi/EFI/BOOT/fbx64.efi
/boot/efi/EFI/rocky/BOOTX64.CSV
/boot/efi/EFI/rocky/mmx64.efi
/boot/efi/EFI/rocky/shimx64-rocky.efi
/boot/efi/EFI/rocky/shimx64.efi

References

Summary

In this tutorial we learn how to install shim-x64 on Rocky Linux 8 using yum and dnf.