How To Install qemu-system-x86.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qemu-system-x86.x86_64 in Amazon Linux 2. qemu-system-x86.x86_64 is QEMU system emulator for x86

Introduction

In this tutorial we learn how to install qemu-system-x86.x86_64 on Amazon Linux 2.

What is qemu-system-x86.x86_64

This package provides the QEMU system emulator for x86. When being run in a x86 machine that supports it, this package also provides the KVM virtualization platform.

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

Install qemu-system-x86.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 qemu-system-x86.x86_64 using yum by running the following command:

sudo yum -y install qemu-system-x86.x86_64

How To Uninstall qemu-system-x86.x86_64 on Amazon Linux 2

To uninstall only the qemu-system-x86.x86_64 package we can use the following command:

sudo yum remove qemu-system-x86.x86_64

qemu-system-x86.x86_64 Package Contents on Amazon Linux 2

References

Summary

In this tutorial we learn how to install qemu-system-x86.x86_64 on Amazon Linux 2 using yum.