How To Install fence-virtd-libvirt on Rocky Linux 8

In this tutorial we learn how to install fence-virtd-libvirt on Rocky Linux 8. fence-virtd-libvirt is Libvirt backend for fence-virtd

Introduction

In this tutorial we learn how to install fence-virtd-libvirt on Rocky Linux 8.

What is fence-virtd-libvirt

Provides fence_virtd with a connection to libvirt to fence virtual machines. Useful for running a cluster of virtual machines on a desktop.

We can use yum or dnf to install fence-virtd-libvirt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fence-virtd-libvirt.

Install fence-virtd-libvirt on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install fence-virtd-libvirt using dnf by running the following command:

sudo dnf -y install fence-virtd-libvirt

Install fence-virtd-libvirt on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install fence-virtd-libvirt using yum by running the following command:

sudo yum -y install fence-virtd-libvirt

How To Uninstall fence-virtd-libvirt on Rocky Linux 8

To uninstall only the fence-virtd-libvirt package we can use the following command:

sudo dnf remove fence-virtd-libvirt

fence-virtd-libvirt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/6f47f821be531ac5642163fe74eb6e965b0ff4
/usr/lib64/fence-virt/virt.so

References

Summary

In this tutorial we learn how to install fence-virtd-libvirt on Rocky Linux 8 using yum and dnf.