How To Install kea-hooks on Fedora 36
Introduction
In this tutorial we learn how to install kea-hooks
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install kea-hooks.
Install kea-hooks on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install kea-hooks
using dnf
by running the following command:
sudo dnf -y install kea-hooks
Install kea-hooks on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install kea-hooks
using yum
by running the following command:
sudo yum -y install kea-hooks
How To Uninstall kea-hooks on Fedora 36
To uninstall only the kea-hooks
package we can use the following command:
sudo dnf remove kea-hooks
kea-hooks Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/a4b6d94bf43d129d1bb9f0a2def17e597c0ed0
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/ff2f8e90cd592b3489bad487be531a1c9fb83b
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/6fcbe92e61564b6554cfb67ab2bd4d067812b4
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/8ff5a6e99da965b403c095d0ffa13702478a78
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/c718beb1b53899b144539b635bbc7bca065a47
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/baf53e39d131f99fba1dcc828168b0a578a72a
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/631309b332782a865bbbd21a32000a3304391a
/usr/lib64/kea
/usr/lib64/kea/hooks
/usr/lib64/kea/hooks/libdhcp_bootp.so
/usr/lib64/kea/hooks/libdhcp_flex_option.so
/usr/lib64/kea/hooks/libdhcp_ha.so
/usr/lib64/kea/hooks/libdhcp_lease_cmds.so
/usr/lib64/kea/hooks/libdhcp_mysql_cb.so
/usr/lib64/kea/hooks/libdhcp_run_script.so
/usr/lib64/kea/hooks/libdhcp_stat_cmds.so
References
Summary
In this tutorial we learn how to install kea-hooks
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).