How To Install libvirt-client on Fedora 36

In this tutorial we learn how to install libvirt-client in Fedora 36. libvirt-client is Client side utilities of the libvirt library

Introduction

In this tutorial we learn how to install libvirt-client on Fedora 36.

What is libvirt-client

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

We can use yum or dnf to install libvirt-client on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-client.

Install libvirt-client on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libvirt-client

Install libvirt-client on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libvirt-client

How To Uninstall libvirt-client on Fedora 36

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

sudo dnf remove libvirt-client

libvirt-client Package Contents on Fedora 36

/usr/bin/virsh
/usr/bin/virt-pki-query-dn
/usr/bin/virt-pki-validate
/usr/bin/virt-xml-validate
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/dca6a9b3d528c7a84a6005695dedfb44666d7f
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/da6a547362685c11c88dc05e3aa0afa11ed625
/usr/share/bash-completion/completions/virsh
/usr/share/man/man1/virsh.1.gz
/usr/share/man/man1/virt-pki-query-dn.1.gz
/usr/share/man/man1/virt-pki-validate.1.gz
/usr/share/man/man1/virt-xml-validate.1.gz

References

Summary

In this tutorial we learn how to install libvirt-client on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).