How To Install grub2-common on Fedora 36

In this tutorial we learn how to install grub2-common in Fedora 36. grub2-common is grub2 common layout

Introduction

In this tutorial we learn how to install grub2-common on Fedora 36.

What is grub2-common

This package provides some directories which are required by various grub2 subpackages.

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

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

sudo dnf -y install grub2-common

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

sudo yum -y install grub2-common

How To Uninstall grub2-common on Fedora 36

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

sudo dnf remove grub2-common

grub2-common Package Contents on Fedora 36

/boot/efi/EFI/fedora
/boot/grub2
/etc/grub.d
/usr/lib/grub
/usr/lib/kernel/install.d/20-grub.install
/usr/lib/kernel/install.d/99-grub-mkconfig.install
/usr/share/doc/grub2-common
/usr/share/doc/grub2-common/THANKS
/usr/share/doc/grub2-common/font_char_metrics.png
/usr/share/doc/grub2-common/grub-dev.html
/usr/share/doc/grub2-common/grub.html
/usr/share/grub
/usr/share/licenses/grub2-common
/usr/share/licenses/grub2-common/COPYING
/usr/share/locale/ast/LC_MESSAGES/grub.mo
/usr/share/locale/ca/LC_MESSAGES/grub.mo
/usr/share/locale/da/LC_MESSAGES/grub.mo
/usr/share/locale/de/LC_MESSAGES/grub.mo
/usr/share/locale/de@hebrew/LC_MESSAGES/grub.mo
/usr/share/locale/de_CH/LC_MESSAGES/grub.mo
/usr/share/locale/en@arabic/LC_MESSAGES/grub.mo
/usr/share/locale/en@cyrillic/LC_MESSAGES/grub.mo
/usr/share/locale/en@greek/LC_MESSAGES/grub.mo
/usr/share/locale/en@hebrew/LC_MESSAGES/grub.mo
/usr/share/locale/en@piglatin/LC_MESSAGES/grub.mo
/usr/share/locale/en@quot/LC_MESSAGES/grub.mo
/usr/share/locale/eo/LC_MESSAGES/grub.mo
/usr/share/locale/es/LC_MESSAGES/grub.mo
/usr/share/locale/fi/LC_MESSAGES/grub.mo
/usr/share/locale/fr/LC_MESSAGES/grub.mo
/usr/share/locale/gl/LC_MESSAGES/grub.mo
/usr/share/locale/hr/LC_MESSAGES/grub.mo
/usr/share/locale/hu/LC_MESSAGES/grub.mo
/usr/share/locale/id/LC_MESSAGES/grub.mo
/usr/share/locale/it/LC_MESSAGES/grub.mo
/usr/share/locale/ja/LC_MESSAGES/grub.mo
/usr/share/locale/ko/LC_MESSAGES/grub.mo
/usr/share/locale/lg/LC_MESSAGES/grub.mo
/usr/share/locale/lt/LC_MESSAGES/grub.mo
/usr/share/locale/nb/LC_MESSAGES/grub.mo
/usr/share/locale/nl/LC_MESSAGES/grub.mo
/usr/share/locale/pa/LC_MESSAGES/grub.mo
/usr/share/locale/pl/LC_MESSAGES/grub.mo
/usr/share/locale/pt/LC_MESSAGES/grub.mo
/usr/share/locale/pt_BR/LC_MESSAGES/grub.mo
/usr/share/locale/ro/LC_MESSAGES/grub.mo
/usr/share/locale/ru/LC_MESSAGES/grub.mo
/usr/share/locale/sl/LC_MESSAGES/grub.mo
/usr/share/locale/sr/LC_MESSAGES/grub.mo
/usr/share/locale/sv/LC_MESSAGES/grub.mo
/usr/share/locale/tr/LC_MESSAGES/grub.mo
/usr/share/locale/uk/LC_MESSAGES/grub.mo
/usr/share/locale/vi/LC_MESSAGES/grub.mo
/usr/share/locale/zh_CN/LC_MESSAGES/grub.mo
/usr/share/locale/zh_TW/LC_MESSAGES/grub.mo

References

Summary

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