How To Install gnu-efi-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gnu-efi-devel.x86_64 in Amazon Linux 2. gnu-efi-devel.x86_64 is Development Libraries and headers for EFI

Introduction

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

What is gnu-efi-devel.x86_64

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

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

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

sudo yum -y install gnu-efi-devel.x86_64

How To Uninstall gnu-efi-devel.x86_64 on Amazon Linux 2

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

sudo yum remove gnu-efi-devel.x86_64

gnu-efi-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/efi
/usr/include/efi/efi.h
/usr/include/efi/efi_nii.h
/usr/include/efi/efi_pxe.h
/usr/include/efi/efiapi.h
/usr/include/efi/eficompiler.h
/usr/include/efi/eficon.h
/usr/include/efi/efidebug.h
/usr/include/efi/efidef.h
/usr/include/efi/efidevp.h
/usr/include/efi/efierr.h
/usr/include/efi/efifs.h
/usr/include/efi/efigpt.h
/usr/include/efi/efiip.h
/usr/include/efi/efilib.h
/usr/include/efi/efilink.h
/usr/include/efi/efinet.h
/usr/include/efi/efipart.h
/usr/include/efi/efipciio.h
/usr/include/efi/efipoint.h
/usr/include/efi/efiprot.h
/usr/include/efi/efipxebc.h
/usr/include/efi/efirtlib.h
/usr/include/efi/efiser.h
/usr/include/efi/efisetjmp.h
/usr/include/efi/efishellintf.h
/usr/include/efi/efishellparm.h
/usr/include/efi/efistdarg.h
/usr/include/efi/efitcp.h
/usr/include/efi/efiudp.h
/usr/include/efi/efiui.h
/usr/include/efi/ia32
/usr/include/efi/ia32/efibind.h
/usr/include/efi/ia32/efilibplat.h
/usr/include/efi/ia32/efisetjmp_arch.h
/usr/include/efi/ia32/pe.h
/usr/include/efi/libsmbios.h
/usr/include/efi/pci22.h
/usr/include/efi/protocol
/usr/include/efi/protocol/adapterdebug.h
/usr/include/efi/protocol/eficonsplit.h
/usr/include/efi/protocol/efivar.h
/usr/include/efi/protocol/intload.h
/usr/include/efi/protocol/legacyboot.h
/usr/include/efi/protocol/piflash64.h
/usr/include/efi/protocol/vgaclass.h
/usr/include/efi/romload.h
/usr/include/efi/x64
/usr/include/efi/x86_64
/usr/include/efi/x86_64/efibind.h
/usr/include/efi/x86_64/efilibplat.h
/usr/include/efi/x86_64/efisetjmp_arch.h
/usr/include/efi/x86_64/pe.h
/usr/share/doc/gnu-efi-devel-3.0.8
/usr/share/doc/gnu-efi-devel-3.0.8/ChangeLog
/usr/share/doc/gnu-efi-devel-3.0.8/README.efilib
/usr/share/doc/gnu-efi-devel-3.0.8/README.elilo
/usr/share/doc/gnu-efi-devel-3.0.8/README.git
/usr/share/doc/gnu-efi-devel-3.0.8/README.gnuefi

References

Summary

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