How To Install hesiod on CentOS 7

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

Introduction

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

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 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 7. In this tutorial we discuss both methods but you only need to choose one of method to install hesiod.

Install hesiod on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install hesiod using yum by running the following command:

sudo yum -y install hesiod

Install hesiod on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install hesiod using dnf by running the following command:

sudo dnf -y install hesiod

How To Uninstall hesiod on CentOS 7

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

sudo dnf remove hesiod

References

Summary

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