How To Install libvirt-daemon-config-network on Rocky Linux 8

In this tutorial we learn how to install libvirt-daemon-config-network on Rocky Linux 8. libvirt-daemon-config-network is Default configuration files for the libvirtd daemon

Introduction

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

What is libvirt-daemon-config-network

Default configuration files for setting up NAT based networking

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

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

sudo dnf -y install libvirt-daemon-config-network

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

sudo yum -y install libvirt-daemon-config-network

How To Uninstall libvirt-daemon-config-network on Rocky Linux 8

To uninstall only the libvirt-daemon-config-network package we can use the following command:

sudo dnf remove libvirt-daemon-config-network

libvirt-daemon-config-network Package Contents on Rocky Linux 8

/etc/libvirt/qemu/networks/autostart/default.xml
/etc/libvirt/qemu/networks/default.xml
/usr/share/libvirt/networks
/usr/share/libvirt/networks/default.xml

References

Summary

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