How To Install hesiod on CentOS 8

hesiod is Shared libraries for querying the Hesiod naming service Shared libraries for querying the Hesiod naming service

Introduction

In this tutorial we learn how to install hesiod on CentOS 8.

What is hesiod

Hesiod is a system which uses existing DNS functionality to provide access to databases of information that changes infrequently. It is often used to distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap files, among others. hesiod 3.2.1 11.el8 x86_64 37 k hesiod-3.2.1-11.el8.src.rpm appstream Shared libraries for querying the Hesiod naming service MIT Hesiod is a system which uses existing DNS functionality to provide access to databases of information that changes infrequently. It is often used to distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap files, among others.

We can use yum or dnf to install hesiod on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install hesiod.

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

sudo dnf -y install hesiod

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

sudo yum -y install hesiod

How To Uninstall hesiod on CentOS 8

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

sudo dnf remove hesiod

hesiod Package Contents on CentOS 8

/usr/bin/hesinfo
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/31718f1fbdb176457d6afc7aa15de102ad8caf
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/a9ee41e9e7e46c1a48b0fe210bcb46f6c5ba89
/usr/lib64/libhesiod.so.0
/usr/lib64/libhesiod.so.0.0.0
/usr/share/doc/hesiod
/usr/share/doc/hesiod/NEWS
/usr/share/doc/hesiod/README
/usr/share/licenses/hesiod
/usr/share/licenses/hesiod/COPYING
/usr/share/man/man1/hesinfo.1.gz
/usr/share/man/man5/hesiod.conf.5.gz
/usr/bin/hesinfo
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/051a292261082c3d9f11490f22c91a2133e9a6
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/138a2a509e756f1072c127c4b2ae0b50fade13
/usr/lib/libhesiod.so.0
/usr/lib/libhesiod.so.0.0.0
/usr/share/doc/hesiod
/usr/share/doc/hesiod/NEWS
/usr/share/doc/hesiod/README
/usr/share/licenses/hesiod
/usr/share/licenses/hesiod/COPYING
/usr/share/man/man1/hesinfo.1.gz
/usr/share/man/man5/hesiod.conf.5.gz

References

Summary

In this tutorial we learn how to install hesiod on CentOS 8 using yum and dnf.