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

In this tutorial we learn how to install dhcp-devel.x86_64 in Amazon Linux 2. dhcp-devel.x86_64 is Development headers and libraries for interfacing to the DHCP

Introduction

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

What is dhcp-devel.x86_64

Header files and API documentation for using the ISC DHCP libraries. The libdhcpctl and libomapi static libraries are also included in this package.

We can use yum to install dhcp-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 dhcp-devel.x86_64.

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

sudo yum -y install dhcp-devel.x86_64

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

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

sudo yum remove dhcp-devel.x86_64

dhcp-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/dhcpctl
/usr/include/dhcpctl/dhcpctl.h
/usr/include/omapip
/usr/include/omapip/alloc.h
/usr/include/omapip/buffer.h
/usr/include/omapip/convert.h
/usr/include/omapip/hash.h
/usr/include/omapip/isclib.h
/usr/include/omapip/omapip.h
/usr/include/omapip/omapip_p.h
/usr/include/omapip/result.h
/usr/include/omapip/trace.h
/usr/lib64/libdhcpctl.so
/usr/lib64/libomapi.so
/usr/share/doc/dhcp-devel-4.2.5
/usr/share/doc/dhcp-devel-4.2.5/IANA-arp-parameters
/usr/share/doc/dhcp-devel-4.2.5/api+protocol
/usr/share/man/man3/dhcpctl.3.gz
/usr/share/man/man3/omapi.3.gz

References

Summary

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