How To Install efi-filesystem on AlmaLinux 8

In this tutorial we learn how to install efi-filesystem in AlmaLinux 8. efi-filesystem is The basic directory layout for EFI machines

Introduction

In this tutorial we learn how to install efi-filesystem on AlmaLinux 8.

What is efi-filesystem

The efi-filesystem package contains the basic directory layout for EFI machine bootloaders and tools.

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

Install efi-filesystem on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install efi-filesystem

Install efi-filesystem on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install efi-filesystem using yum by running the following command:

sudo yum -y install efi-filesystem

How To Uninstall efi-filesystem on AlmaLinux 8

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

sudo dnf remove efi-filesystem

References

Summary

In this tutorial we learn how to install efi-filesystem on AlmaLinux 8 using yum and dnf.