How To Install efivar.x86_64 on Amazon Linux 2

In this tutorial we learn how to install efivar.x86_64 in Amazon Linux 2. efivar.x86_64 is Tools to manage UEFI variables

Introduction

In this tutorial we learn how to install efivar.x86_64 on Amazon Linux 2.

What is efivar.x86_64

efivar provides a simple command line interface to the UEFI variable facility.

We can use yum to install efivar.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install efivar.x86_64.

Install efivar.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install efivar.x86_64 using yum by running the following command:

sudo yum -y install efivar.x86_64

How To Uninstall efivar.x86_64 on Amazon Linux 2

To uninstall only the efivar.x86_64 package we can use the following command:

sudo yum remove efivar.x86_64

efivar.x86_64 Package Contents on Amazon Linux 2

/usr/bin/efivar
/usr/share/doc/efivar-31
/usr/share/doc/efivar-31/README.md
/usr/share/licenses/efivar-31
/usr/share/licenses/efivar-31/COPYING
/usr/share/man/man1/efivar.1.gz

References

Summary

In this tutorial we learn how to install efivar.x86_64 on Amazon Linux 2 using yum.