How To Install libgovirt on CentOS 7

In this tutorial we learn how to install libgovirt on CentOS 7. libgovirt is A GObject library for interacting with oVirt REST API

Introduction

In this tutorial we learn how to install libgovirt on CentOS 7.

What is libgovirt

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. 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.

We can use yum or dnf to install libgovirt on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libgovirt.

Install libgovirt on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libgovirt using yum by running the following command:

sudo yum -y install libgovirt

Install libgovirt on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libgovirt using dnf by running the following command:

sudo dnf -y install libgovirt

How To Uninstall libgovirt on CentOS 7

To uninstall only the libgovirt package we can use the following command:

sudo dnf remove libgovirt

References

Summary

In this tutorial we learn how to install libgovirt on CentOS 7 using yum and dnf.