How To Install qemu-kvm-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qemu-kvm-tools.x86_64 in Amazon Linux 2. qemu-kvm-tools.x86_64 is KVM debugging and diagnostics tools

Introduction

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

What is qemu-kvm-tools.x86_64

This package contains some diagnostics and debugging tools for KVM, such as kvm_stat.

We can use yum to install qemu-kvm-tools.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-kvm-tools.x86_64.

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

sudo yum -y install qemu-kvm-tools.x86_64

How To Uninstall qemu-kvm-tools.x86_64 on Amazon Linux 2

To uninstall only the qemu-kvm-tools.x86_64 package we can use the following command:

sudo yum remove qemu-kvm-tools.x86_64

qemu-kvm-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/kvm_stat

References

Summary

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