How To Install nss_hesiod on CentOS 8

nss_hesiod is Name Service Switch (NSS) module using Hesiod Name Service Switch (NSS) module using Hesiod

Introduction

In this tutorial we learn how to install nss_hesiod on CentOS 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. nss_hesiod 2.28 151.el8 x86_64 69 k glibc-2.28-151.el8.src.rpm powertools Name Service Switch (NSS) module using Hesiod http LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL 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 CentOS 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 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 nss_hesiod using dnf by running the following command:

sudo dnf -y install nss_hesiod

Install nss_hesiod 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 nss_hesiod using yum by running the following command:

sudo yum -y install nss_hesiod

How To Uninstall nss_hesiod on CentOS 8

To uninstall only the nss_hesiod package we can use the following command:

sudo dnf remove nss_hesiod

nss_hesiod Package Contents on CentOS 8

/lib/libnss_hesiod-2.28.so
/lib/libnss_hesiod.so.2
/usr/lib/.build-id
/usr/lib/.build-id/69/f68443f5f2906a03572abc8b544e62dd494587
/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/91/2c11564dec915d082b92783ca9db7078bc37bb
/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 CentOS 8 using yum and dnf.