How To Install libvirt-admin on Rocky Linux 8

In this tutorial we learn how to install libvirt-admin on Rocky Linux 8. libvirt-admin is Set of tools to control libvirt daemon

Introduction

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

What is libvirt-admin

The client side utilities to control the libvirt daemon.

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

Install libvirt-admin 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 libvirt-admin using dnf by running the following command:

sudo dnf -y install libvirt-admin

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

sudo yum -y install libvirt-admin

How To Uninstall libvirt-admin on Rocky Linux 8

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

sudo dnf remove libvirt-admin

libvirt-admin Package Contents on Rocky Linux 8

/usr/bin/virt-admin
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/5326731b39384be068ce6bb3bce6c9eb00a605
/usr/share/bash-completion/completions/virt-admin
/usr/share/man/man1/virt-admin.1.gz

References

Summary

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