How To Install gnu-efi on Fedora 36

In this tutorial we learn how to install gnu-efi in Fedora 36. gnu-efi is Development Libraries and headers for EFI

Introduction

In this tutorial we learn how to install gnu-efi on Fedora 36.

What is gnu-efi

This package contains development headers and libraries for developing applications that run under EFI (Extensible Firmware Interface).

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

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

sudo dnf -y install gnu-efi

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

sudo yum -y install gnu-efi

How To Uninstall gnu-efi on Fedora 36

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

sudo dnf remove gnu-efi

gnu-efi Package Contents on Fedora 36

/usr/lib/gnuefi
/usr/lib/gnuefi/ia32
/usr/lib/gnuefi/ia32/crt0.o
/usr/lib/gnuefi/ia32/efi.lds
/usr/lib/gnuefi/ia32/libefi.a
/usr/lib/gnuefi/ia32/libgnuefi.a
/usr/lib/gnuefi/x64
/usr/lib/gnuefi/x64/crt0.o
/usr/lib/gnuefi/x64/efi.lds
/usr/lib/gnuefi/x64/libefi.a
/usr/lib/gnuefi/x64/libgnuefi.a

References

Summary

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