How To Install OVMF.noarch on Amazon Linux 2

In this tutorial we learn how to install OVMF.noarch in Amazon Linux 2. OVMF.noarch is UEFI firmware for x86_64 virtual machines

Introduction

In this tutorial we learn how to install OVMF.noarch on Amazon Linux 2.

What is OVMF.noarch

OVMF (Open Virtual Machine Firmware) is a project to enable UEFI support for Virtual Machines. This package contains a sample 64-bit UEFI firmware for QEMU and KVM.

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

Install OVMF.noarch 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 OVMF.noarch using yum by running the following command:

sudo yum -y install OVMF.noarch

How To Uninstall OVMF.noarch on Amazon Linux 2

To uninstall only the OVMF.noarch package we can use the following command:

sudo yum remove OVMF.noarch

OVMF.noarch Package Contents on Amazon Linux 2

/usr/share/OVMF
/usr/share/OVMF/OVMF_CODE.secboot.fd
/usr/share/OVMF/OVMF_VARS.fd
/usr/share/OVMF/UefiShell.iso
/usr/share/doc/OVMF/Licenses
/usr/share/doc/OVMF/Licenses/CryptoPkg-License.txt
/usr/share/doc/OVMF/Licenses/FatPkg-License.txt
/usr/share/doc/OVMF/Licenses/IntelFrameworkModulePkg-License.txt
/usr/share/doc/OVMF/Licenses/MdeModulePkg-License.txt
/usr/share/doc/OVMF/Licenses/MdePkg-License.txt
/usr/share/doc/OVMF/Licenses/OpensslLib-License.txt
/usr/share/doc/OVMF/Licenses/OptionRomPkg-License.txt
/usr/share/doc/OVMF/Licenses/OvmfPkg-License.txt
/usr/share/doc/OVMF/Licenses/PcAtChipsetPkg-License.txt
/usr/share/doc/OVMF/Licenses/SecurityPkg-License.txt
/usr/share/doc/OVMF/Licenses/ShellPkg-License.txt
/usr/share/doc/OVMF/Licenses/UefiCpuPkg-License.txt
/usr/share/doc/OVMF/README
/usr/share/doc/OVMF/ovmf-whitepaper-c770f8c.txt

References

Summary

In this tutorial we learn how to install OVMF.noarch on Amazon Linux 2 using yum.