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

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

Introduction

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

What is grub2-tools-minimal

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-minimal on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install grub2-tools-minimal.

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

sudo dnf -y install grub2-tools-minimal

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

sudo yum -y install grub2-tools-minimal

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

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

sudo dnf remove grub2-tools-minimal

grub2-tools-minimal Package Contents on Rocky Linux 8

/etc/prelink.conf.d/grub2.conf
/usr/bin/grub2-editenv
/usr/bin/grub2-mkpasswd-pbkdf2
/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/ecbff25f5339d9168d284b1b94a6df20260d9c
/usr/lib/.build-id/67
/usr/lib/.build-id/67/04f92d33a1dc5e576c94ba5023c7060cca3201
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/c051f97afeb273cbc485f4ae251e672830d3c5
/usr/sbin/grub2-get-kernel-settings
/usr/sbin/grub2-set-bootflag
/usr/sbin/grub2-set-default
/usr/sbin/grub2-set-password
/usr/sbin/grub2-setpassword
/usr/share/man/man1/grub2-editenv.1.gz
/usr/share/man/man1/grub2-mkpasswd-pbkdf2.1.gz
/usr/share/man/man3/grub2-get-kernel-settings.3.gz
/usr/share/man/man8/grub2-set-default.8.gz
/usr/share/man/man8/grub2-set-password.8.gz
/usr/share/man/man8/grub2-setpassword.8.gz

References

Summary

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