How To Install libgovirt-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgovirt-devel.x86_64 in Amazon Linux 2. libgovirt-devel.x86_64 is Libraries, includes, etc. to compile with the libgovirt library

Introduction

In this tutorial we learn how to install libgovirt-devel.x86_64 on Amazon Linux 2.

What is libgovirt-devel.x86_64

libgovirt is a library that allows applications to use oVirt REST API to list VMs managed by an oVirt instance, and to get the connection parameters needed to make a SPICE/VNC connection to them. Libraries, includes, etc. to compile with the libgovirt library

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

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

sudo yum -y install libgovirt-devel.x86_64

How To Uninstall libgovirt-devel.x86_64 on Amazon Linux 2

To uninstall only the libgovirt-devel.x86_64 package we can use the following command:

sudo yum remove libgovirt-devel.x86_64

libgovirt-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/govirt-1.0
/usr/include/govirt-1.0/govirt
/usr/include/govirt-1.0/govirt/govirt.h
/usr/include/govirt-1.0/govirt/ovirt-api.h
/usr/include/govirt-1.0/govirt/ovirt-cdrom.h
/usr/include/govirt-1.0/govirt/ovirt-cluster.h
/usr/include/govirt-1.0/govirt/ovirt-collection.h
/usr/include/govirt-1.0/govirt/ovirt-data-center.h
/usr/include/govirt-1.0/govirt/ovirt-enum-types.h
/usr/include/govirt-1.0/govirt/ovirt-error.h
/usr/include/govirt-1.0/govirt/ovirt-host.h
/usr/include/govirt-1.0/govirt/ovirt-options.h
/usr/include/govirt-1.0/govirt/ovirt-proxy.h
/usr/include/govirt-1.0/govirt/ovirt-resource.h
/usr/include/govirt-1.0/govirt/ovirt-rest-call-error.h
/usr/include/govirt-1.0/govirt/ovirt-storage-domain.h
/usr/include/govirt-1.0/govirt/ovirt-types.h
/usr/include/govirt-1.0/govirt/ovirt-vm-display.h
/usr/include/govirt-1.0/govirt/ovirt-vm-pool.h
/usr/include/govirt-1.0/govirt/ovirt-vm.h
/usr/lib64/libgovirt.so
/usr/lib64/pkgconfig/govirt-1.0.pc
/usr/share/gir-1.0/GoVirt-1.0.gir

References

Summary

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