How To Install hesiod-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hesiod-devel.x86_64 in Amazon Linux 2. hesiod-devel.x86_64 is Development libraries and headers for Hesiod

Introduction

In this tutorial we learn how to install hesiod-devel.x86_64 on Amazon Linux 2.

What is hesiod-devel.x86_64

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

Install hesiod-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install hesiod-devel.x86_64

How To Uninstall hesiod-devel.x86_64 on Amazon Linux 2

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

sudo yum remove hesiod-devel.x86_64

hesiod-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.