How To Install libvirt-client.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libvirt-client.x86_64 in Amazon Linux 2. libvirt-client.x86_64 is Client side utilities of the libvirt library

Introduction

In this tutorial we learn how to install libvirt-client.x86_64 on Amazon Linux 2.

What is libvirt-client.x86_64

The client binaries needed to access the virtualization capabilities of recent versions of Linux (and other OSes).

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

Install libvirt-client.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 libvirt-client.x86_64 using yum by running the following command:

sudo yum -y install libvirt-client.x86_64

How To Uninstall libvirt-client.x86_64 on Amazon Linux 2

To uninstall only the libvirt-client.x86_64 package we can use the following command:

sudo yum remove libvirt-client.x86_64

libvirt-client.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/libvirt-guests
/usr/bin/virsh
/usr/bin/virt-host-validate
/usr/bin/virt-pki-validate
/usr/bin/virt-xml-validate
/usr/lib/systemd/system/libvirt-guests.service
/usr/libexec/libvirt-guests.sh
/usr/share/bash-completion/completions/virsh
/usr/share/man/man1/virsh.1.gz
/usr/share/man/man1/virt-host-validate.1.gz
/usr/share/man/man1/virt-pki-validate.1.gz
/usr/share/man/man1/virt-xml-validate.1.gz
/usr/share/systemtap/tapset/libvirt_functions.stp
/usr/share/systemtap/tapset/libvirt_probes-64.stp
/usr/share/systemtap/tapset/libvirt_qemu_probes-64.stp

References

Summary

In this tutorial we learn how to install libvirt-client.x86_64 on Amazon Linux 2 using yum.