How To Install libvirt-daemon-driver-lxc on Fedora 36

In this tutorial we learn how to install libvirt-daemon-driver-lxc in Fedora 36. libvirt-daemon-driver-lxc is LXC driver plugin for the libvirtd daemon

Introduction

In this tutorial we learn how to install libvirt-daemon-driver-lxc on Fedora 36.

What is libvirt-daemon-driver-lxc

The LXC driver plugin for the libvirtd daemon, providing an implementation of the hypervisor driver APIs using the Linux kernel

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

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

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

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

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

How To Uninstall libvirt-daemon-driver-lxc on Fedora 36

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

sudo dnf remove libvirt-daemon-driver-lxc

libvirt-daemon-driver-lxc Package Contents on Fedora 36

/etc/libvirt/lxc
/etc/libvirt/lxc.conf
/etc/libvirt/lxc/autostart
/etc/libvirt/virtlxcd.conf
/etc/logrotate.d/libvirtd.lxc
/run/libvirt/lxc
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/8d69dbd3eca1946536469efee0dc6227353780
/usr/lib/.build-id/58
/usr/lib/.build-id/58/72a137cf355f749059e9157d16a117bf928639
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/d7ab7178ec1aa7474fdc7c5e3286a862ee46c6
/usr/lib/systemd/system/virtlxcd-admin.socket
/usr/lib/systemd/system/virtlxcd-ro.socket
/usr/lib/systemd/system/virtlxcd.service
/usr/lib/systemd/system/virtlxcd.socket
/usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so
/usr/libexec/libvirt_lxc
/usr/sbin/virtlxcd
/usr/share/augeas/lenses/libvirtd_lxc.aug
/usr/share/augeas/lenses/tests/test_libvirtd_lxc.aug
/usr/share/augeas/lenses/tests/test_virtlxcd.aug
/usr/share/augeas/lenses/virtlxcd.aug
/usr/share/man/man8/virtlxcd.8.gz
/var/lib/libvirt/lxc
/var/log/libvirt/lxc

References

Summary

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