How To Install nss_hesiod on Rocky Linux 8
Introduction
In this tutorial we learn how to install nss_hesiod
on Rocky Linux 8.
What is nss_hesiod
The nss_hesiod Name Service Switch module uses the Domain Name System (DNS) as a source for user, group, and service information, following the Hesiod convention of Project Athena.
We can use yum
or dnf
to install nss_hesiod
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nss_hesiod.
Install nss_hesiod 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 nss_hesiod
using dnf
by running the following command:
sudo dnf -y install nss_hesiod
Install nss_hesiod 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 nss_hesiod
using yum
by running the following command:
sudo yum -y install nss_hesiod
How To Uninstall nss_hesiod on Rocky Linux 8
To uninstall only the nss_hesiod
package we can use the following command:
sudo dnf remove nss_hesiod
nss_hesiod Package Contents on Rocky Linux 8
/lib/libnss_hesiod-2.28.so
/lib/libnss_hesiod.so.2
/usr/lib/.build-id
/usr/lib/.build-id/d0/763d4dd1f87ce5819103020c01838065386f48
/usr/share/doc/nss_hesiod
/usr/share/doc/nss_hesiod/README.hesiod
/lib64/libnss_hesiod-2.28.so
/lib64/libnss_hesiod.so.2
/usr/lib/.build-id
/usr/lib/.build-id/c0/e92eb8f07e9c1e81920507d32fcaf738d0351e
/usr/share/doc/nss_hesiod
/usr/share/doc/nss_hesiod/README.hesiod
References
Summary
In this tutorial we learn how to install nss_hesiod
on Rocky Linux 8 using yum and dnf.