How To Install kea-hooks on CentOS 7

In this tutorial we learn how to install kea-hooks on CentOS 7. kea-hooks is Hooks libraries for kea

Introduction

In this tutorial we learn how to install kea-hooks on CentOS 7.

What is kea-hooks

Hooking mechanism allow Kea to load one or more dynamically-linked libraries (known as “hooks libraries”) and, at various points in its processing (“hook points”), call functions in them. Those functions perform whatever custom processing is required.

We can use yum or dnf to install kea-hooks on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install kea-hooks.

Install kea-hooks on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install kea-hooks using yum by running the following command:

sudo yum -y install kea-hooks

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

sudo dnf -y install kea-hooks

How To Uninstall kea-hooks on CentOS 7

To uninstall only the kea-hooks package we can use the following command:

sudo dnf remove kea-hooks

References

Summary

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