How To Install grub2-tools-efi on Rocky Linux 8

In this tutorial we learn how to install grub2-tools-efi on Rocky Linux 8. grub2-tools-efi is Support tools for GRUB.

Introduction

In this tutorial we learn how to install grub2-tools-efi on Rocky Linux 8.

What is grub2-tools-efi

The GRand Unified Bootloader (GRUB) is a highly configurable and customizable bootloader with modular architecture. It supports a rich variety of kernel formats, file systems, computer architectures and hardware devices. This subpackage provides tools for support of EFI platforms.

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

Install grub2-tools-efi 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 grub2-tools-efi using dnf by running the following command:

sudo dnf -y install grub2-tools-efi

Install grub2-tools-efi 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 grub2-tools-efi using yum by running the following command:

sudo yum -y install grub2-tools-efi

How To Uninstall grub2-tools-efi on Rocky Linux 8

To uninstall only the grub2-tools-efi package we can use the following command:

sudo dnf remove grub2-tools-efi

grub2-tools-efi Package Contents on Rocky Linux 8

/usr/bin/grub2-render-label
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/77073c8293a69a4eda16847685e977576665b5
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/88c6b72969ae05b94ac0875267530d68ac52c6
/usr/sbin/grub2-macbless
/usr/share/man/man1/grub2-render-label.1.gz
/usr/share/man/man8/grub2-macbless.8.gz

References

Summary

In this tutorial we learn how to install grub2-tools-efi on Rocky Linux 8 using yum and dnf.