How To Install libvirt-nss on Rocky Linux 8
Introduction
In this tutorial we learn how to install libvirt-nss
on Rocky Linux 8.
What is libvirt-nss
Libvirt plugin for NSS for translating domain names into IP addresses.
We can use yum
or dnf
to install libvirt-nss
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-nss.
Install libvirt-nss 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-nss
using dnf
by running the following command:
sudo dnf -y install libvirt-nss
Install libvirt-nss 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-nss
using yum
by running the following command:
sudo yum -y install libvirt-nss
How To Uninstall libvirt-nss on Rocky Linux 8
To uninstall only the libvirt-nss
package we can use the following command:
sudo dnf remove libvirt-nss
libvirt-nss Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/d55ce1894853f1b2e33eed884c9a56192313d6
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/12c8a05317bd186eced5d6362cf627039b6bfd
/usr/lib64/libnss_libvirt.so.2
/usr/lib64/libnss_libvirt_guest.so.2
References
Summary
In this tutorial we learn how to install libvirt-nss
on Rocky Linux 8 using yum and dnf.