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

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

Introduction

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

What is qemu-system-x86-core.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-core.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-core.x86_64.

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

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

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

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

sudo yum remove qemu-system-x86-core.x86_64

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

/etc/modprobe.d/kvm.conf
/usr/bin/qemu-kvm
/usr/bin/qemu-system-i386
/usr/bin/qemu-system-x86_64
/usr/libexec/qemu-kvm
/usr/share/man/man1/qemu-kvm.1.gz
/usr/share/man/man1/qemu-system-i386.1.gz
/usr/share/man/man1/qemu-system-x86_64.1.gz
/usr/share/qemu/bios-256k.bin
/usr/share/qemu/bios.bin
/usr/share/qemu/kvmvapic.bin
/usr/share/qemu/linuxboot.bin
/usr/share/qemu/linuxboot_dma.bin
/usr/share/qemu/multiboot.bin
/usr/share/qemu/sgabios.bin
/usr/share/systemtap/tapset/qemu-system-i386-simpletrace.stp
/usr/share/systemtap/tapset/qemu-system-i386.stp
/usr/share/systemtap/tapset/qemu-system-x86_64-simpletrace.stp
/usr/share/systemtap/tapset/qemu-system-x86_64.stp

References

Summary

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