How To Install libvirt-daemon-driver-qemu on Rocky Linux 8

In this tutorial we learn how to install libvirt-daemon-driver-qemu on Rocky Linux 8. libvirt-daemon-driver-qemu is QEMU driver plugin for the libvirtd daemon

Introduction

In this tutorial we learn how to install libvirt-daemon-driver-qemu on Rocky Linux 8.

What is libvirt-daemon-driver-qemu

The qemu driver plugin for the libvirtd daemon, providing an implementation of the hypervisor driver APIs using QEMU

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

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

sudo dnf -y install libvirt-daemon-driver-qemu

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

sudo yum -y install libvirt-daemon-driver-qemu

How To Uninstall libvirt-daemon-driver-qemu on Rocky Linux 8

To uninstall only the libvirt-daemon-driver-qemu package we can use the following command:

sudo dnf remove libvirt-daemon-driver-qemu

libvirt-daemon-driver-qemu Package Contents on Rocky Linux 8

/etc/libvirt/qemu
/etc/libvirt/qemu-lockd.conf
/etc/libvirt/qemu.conf
/etc/libvirt/virtqemud.conf
/etc/logrotate.d/libvirtd.qemu
/run/libvirt/qemu
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/6e1ddeae71f2ebe3e7ca8d10e879922fc83d86
/usr/lib/.build-id/91/f312703b2ef16f0b3748d824540b8e7614e7f5
/usr/lib/systemd/system/virtqemud-admin.socket
/usr/lib/systemd/system/virtqemud-ro.socket
/usr/lib/systemd/system/virtqemud.service
/usr/lib/systemd/system/virtqemud.socket
/usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so
/usr/sbin/virtqemud
/usr/share/augeas/lenses/libvirtd_qemu.aug
/usr/share/augeas/lenses/tests/test_libvirtd_qemu.aug
/usr/share/augeas/lenses/tests/test_virtqemud.aug
/usr/share/augeas/lenses/virtqemud.aug
/var/cache/libvirt/qemu
/var/lib/libvirt/qemu
/var/lib/libvirt/swtpm
/var/log/libvirt/qemu
/var/log/swtpm/libvirt/qemu

References

Summary

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