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

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

Introduction

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

What is grub2-tools-extra

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 all platforms.

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

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

sudo dnf -y install grub2-tools-extra

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

sudo yum -y install grub2-tools-extra

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

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

sudo dnf remove grub2-tools-extra

grub2-tools-extra Package Contents on Rocky Linux 8

/etc/sysconfig/grub
/usr/bin/grub2-fstest
/usr/bin/grub2-glue-efi
/usr/bin/grub2-kbdcomp
/usr/bin/grub2-mkfont
/usr/bin/grub2-mklayout
/usr/bin/grub2-mknetdir
/usr/bin/grub2-mkrescue
/usr/bin/grub2-mkstandalone
/usr/bin/grub2-syslinux2cfg
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/dbbb987835c6c96d00c881909fd88ca432d7dd
/usr/lib/.build-id/39/e56d2c36792ea533ea9de1620138c7f0c89ac4
/usr/lib/.build-id/69/e9d3372b31e03dac1ef34482e1f48a476d205f
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/0f207e34b033a6f23ff6349ae0568df0c2a7da
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/246e329c9bde97e68d14fd478ac4177539f2d3
/usr/lib/.build-id/b4/9f9b7d17749aec68dbf07e7e57aff010c61557
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/2a1a9fc55dfdcc60038de1032e007c8a6929e2
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/d4a178266019bd41e0770f70ec04beaa464433
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/2e29852844f91b3eb1b730a8b4d14f33b3108f
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/56039bd8173717b2a4bc9525538d479eca8f3b
/usr/sbin/grub2-ofpathname
/usr/sbin/grub2-sparc64-setup
/usr/share/man/man1/grub2-fstest.1.gz
/usr/share/man/man1/grub2-glue-efi.1.gz
/usr/share/man/man1/grub2-kbdcomp.1.gz
/usr/share/man/man1/grub2-mkfont.1.gz
/usr/share/man/man1/grub2-mklayout.1.gz
/usr/share/man/man1/grub2-mknetdir.1.gz
/usr/share/man/man1/grub2-mkrescue.1.gz
/usr/share/man/man1/grub2-mkstandalone.1.gz
/usr/share/man/man1/grub2-syslinux2cfg.1.gz
/usr/share/man/man8/grub2-install.8.gz
/usr/share/man/man8/grub2-ofpathname.8.gz
/usr/share/man/man8/grub2-sparc64-setup.8.gz

References

Summary

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