How To Install hesiod on Rocky Linux 8

In this tutorial we learn how to install hesiod on Rocky Linux 8. hesiod is Shared libraries for querying the Hesiod naming service

Introduction

In this tutorial we learn how to install hesiod on Rocky Linux 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.

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

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

sudo dnf -y install hesiod

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

sudo yum -y install hesiod

How To Uninstall hesiod on Rocky Linux 8

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

sudo dnf remove hesiod

hesiod Package Contents on Rocky Linux 8

/usr/bin/hesinfo
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/192fed239cdfca54bb0a7d8bff782f82c42e61
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/0c911a8ca9b7a24a8c49fb15ebd54d03b5abbe
/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
/usr/bin/hesinfo
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/9768a38fabfe40e10c0c8c6126848835eeecc9
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/24e4f35e04f6031826f333f4f92f8365537c5c
/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

References

Summary

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