How To Install libvirt-daemon-driver-qemu on CentOS 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 CentOS 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 CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 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 CentOS 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/78/5e03409500866c03d757fdbcfa3c685885be8b
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/908ce025d7bd72a397382a8d5503a1f3456cc9
/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 CentOS 8 using yum and dnf.