How To Install hesiod-devel on Rocky Linux 8

In this tutorial we learn how to install hesiod-devel on Rocky Linux 8. hesiod-devel is Development libraries and headers for Hesiod

Introduction

In this tutorial we learn how to install hesiod-devel on Rocky Linux 8.

What is hesiod-devel

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 which might otherwise kept in the /etc/passwd, /etc/group, and /etc/printcap files over a network, eliminating the need to ensure the files are synchronized among multiple hosts. This package contains the header files and libraries required for building programs which use Hesiod.

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

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

sudo dnf -y install hesiod-devel

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

sudo yum -y install hesiod-devel

How To Uninstall hesiod-devel on Rocky Linux 8

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

sudo dnf remove hesiod-devel

hesiod-devel Package Contents on Rocky Linux 8

/usr/include/hesiod.h
/usr/lib/libhesiod.so
/usr/lib/pkgconfig/hesiod.pc
/usr/share/man/man3/hesiod.3.gz
/usr/share/man/man3/hesiod_end.3.gz
/usr/share/man/man3/hesiod_free_list.3.gz
/usr/share/man/man3/hesiod_free_passwd.3.gz
/usr/share/man/man3/hesiod_free_postoffice.3.gz
/usr/share/man/man3/hesiod_free_servent.3.gz
/usr/share/man/man3/hesiod_free_string.3.gz
/usr/share/man/man3/hesiod_getmailhost.3.gz
/usr/share/man/man3/hesiod_getpwnam.3.gz
/usr/share/man/man3/hesiod_getpwuid.3.gz
/usr/share/man/man3/hesiod_getservbyname.3.gz
/usr/share/man/man3/hesiod_init.3.gz
/usr/share/man/man3/hesiod_parse_result.3.gz
/usr/share/man/man3/hesiod_resolve.3.gz
/usr/share/man/man3/hesiod_to_bind.3.gz
/usr/include/hesiod.h
/usr/lib64/libhesiod.so
/usr/lib64/pkgconfig/hesiod.pc
/usr/share/man/man3/hesiod.3.gz
/usr/share/man/man3/hesiod_end.3.gz
/usr/share/man/man3/hesiod_free_list.3.gz
/usr/share/man/man3/hesiod_free_passwd.3.gz
/usr/share/man/man3/hesiod_free_postoffice.3.gz
/usr/share/man/man3/hesiod_free_servent.3.gz
/usr/share/man/man3/hesiod_free_string.3.gz
/usr/share/man/man3/hesiod_getmailhost.3.gz
/usr/share/man/man3/hesiod_getpwnam.3.gz
/usr/share/man/man3/hesiod_getpwuid.3.gz
/usr/share/man/man3/hesiod_getservbyname.3.gz
/usr/share/man/man3/hesiod_init.3.gz
/usr/share/man/man3/hesiod_parse_result.3.gz
/usr/share/man/man3/hesiod_resolve.3.gz
/usr/share/man/man3/hesiod_to_bind.3.gz

References

Summary

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