How To Install efivar-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install efivar-devel.x86_64 in Amazon Linux 2. efivar-devel.x86_64 is Development headers for libefivar

Introduction

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

What is efivar-devel.x86_64

development headers required to use libefivar.

We can use yum to install efivar-devel.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-devel.x86_64.

Install efivar-devel.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-devel.x86_64 using yum by running the following command:

sudo yum -y install efivar-devel.x86_64

How To Uninstall efivar-devel.x86_64 on Amazon Linux 2

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

sudo yum remove efivar-devel.x86_64

efivar-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/efivar
/usr/include/efivar/efiboot-creator.h
/usr/include/efivar/efiboot-loadopt.h
/usr/include/efivar/efiboot.h
/usr/include/efivar/efivar-dp.h
/usr/include/efivar/efivar-guids.h
/usr/include/efivar/efivar.h
/usr/lib64/libefiboot.so
/usr/lib64/libefivar.so
/usr/lib64/pkgconfig/efiboot.pc
/usr/lib64/pkgconfig/efivar.pc
/usr/share/man/man3/efi_append_variable.3.gz
/usr/share/man/man3/efi_del_variable.3.gz
/usr/share/man/man3/efi_get_next_variable_name.3.gz
/usr/share/man/man3/efi_get_variable.3.gz
/usr/share/man/man3/efi_get_variable_attributes.3.gz
/usr/share/man/man3/efi_get_variable_size.3.gz
/usr/share/man/man3/efi_guid_to_id_guid.3.gz
/usr/share/man/man3/efi_guid_to_name.3.gz
/usr/share/man/man3/efi_guid_to_str.3.gz
/usr/share/man/man3/efi_guid_to_symbol.3.gz
/usr/share/man/man3/efi_name_to_guid.3.gz
/usr/share/man/man3/efi_set_variable.3.gz
/usr/share/man/man3/efi_str_to_guid.3.gz
/usr/share/man/man3/efi_symbol_to_guid.3.gz
/usr/share/man/man3/efi_variable_alloc.3.gz
/usr/share/man/man3/efi_variable_export.3.gz
/usr/share/man/man3/efi_variable_free.3.gz
/usr/share/man/man3/efi_variable_get_attributes.3.gz
/usr/share/man/man3/efi_variable_get_data.3.gz
/usr/share/man/man3/efi_variable_get_guid.3.gz
/usr/share/man/man3/efi_variable_get_name.3.gz
/usr/share/man/man3/efi_variable_import.3.gz
/usr/share/man/man3/efi_variable_realize.3.gz
/usr/share/man/man3/efi_variable_set_attributes.3.gz
/usr/share/man/man3/efi_variable_set_data.3.gz
/usr/share/man/man3/efi_variable_set_guid.3.gz
/usr/share/man/man3/efi_variable_set_name.3.gz
/usr/share/man/man3/efi_variable_t.3.gz
/usr/share/man/man3/efi_variables_supported.3.gz

References

Summary

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