How To Install grubby on Fedora 36

In this tutorial we learn how to install grubby in Fedora 36. grubby is Command line tool for updating bootloader configs

Introduction

In this tutorial we learn how to install grubby on Fedora 36.

What is grubby

This package provides a grubby compatibility script that manages BootLoaderSpec files and is meant to be backward compatible with the previous grubby tool.

We can use yum or dnf to install grubby on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install grubby.

Install grubby on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install grubby

Install grubby on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install grubby using yum by running the following command:

sudo yum -y install grubby

How To Uninstall grubby on Fedora 36

To uninstall only the grubby package we can use the following command:

sudo dnf remove grubby

grubby Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/302e46eccb73b8e4ba7d003facc3c68d3fb106
/usr/lib/kernel/install.d/10-devicetree.install
/usr/lib/kernel/install.d/95-kernel-hooks.install
/usr/libexec/grubby
/usr/libexec/grubby/grubby-bls
/usr/libexec/grubby/rpm-sort
/usr/libexec/installkernel
/usr/libexec/installkernel/installkernel-bls
/usr/sbin/grubby
/usr/sbin/installkernel
/usr/share/licenses/grubby
/usr/share/licenses/grubby/COPYING
/usr/share/man/man8/grubby.8.gz
/usr/share/man/man8/installkernel.8.gz

References

Summary

In this tutorial we learn how to install grubby on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).