How To Install kea on Rocky Linux 8

In this tutorial we learn how to install kea on Rocky Linux 8. kea is DHCPv4, DHCPv6 and DDNS server from ISC

Introduction

In this tutorial we learn how to install kea on Rocky Linux 8.

What is kea

DHCP implementation from Internet Systems Consortium, Inc. that features fully functional DHCPv4, DHCPv6 and Dynamic DNS servers. Both DHCP servers fully support server discovery, address assignment, renewal, rebinding and release. The DHCPv6 server supports prefix delegation. Both servers support DNS Update mechanism, using stand-alone DDNS daemon.

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

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

sudo dnf -y install kea

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

sudo yum -y install kea

How To Uninstall kea on Rocky Linux 8

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

sudo dnf remove kea

kea Package Contents on Rocky Linux 8

/etc/kea
/etc/kea/kea-ctrl-agent.conf
/etc/kea/kea-dhcp-ddns.conf
/etc/kea/kea-dhcp4.conf
/etc/kea/kea-dhcp6.conf
/etc/kea/keactrl.conf
/run/kea
/usr/bin/kea-msg-compiler
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/d8cb869bca4eac8ee31737dd1d755619a8b233
/usr/lib/.build-id/47
/usr/lib/.build-id/47/f44698445327a09c2ac377db29c080d1addf08
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/cf3e33e870736df3bdaf46258a6112cb53162f
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/1e89958ae47f77defabc9e3bac8981e16ba2f8
/usr/lib/.build-id/91
/usr/lib/.build-id/91/adeda37fa255b2e85fba7091f04ff312ad964a
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/7226511a3cc0c20bf8277ec66785561e0084b8
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/6bc1d8b7f9dbe7ddfa16d28a4979994bf0d067
/usr/lib/python3.6/site-packages/kea
/usr/lib/python3.6/site-packages/kea/__pycache__
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_conn.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_conn.cpython-36.pyc
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_connector2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_connector2.cpython-36.pyc
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_connector3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kea/__pycache__/kea_connector3.cpython-36.pyc
/usr/lib/python3.6/site-packages/kea/kea_conn.py
/usr/lib/python3.6/site-packages/kea/kea_connector2.py
/usr/lib/python3.6/site-packages/kea/kea_connector3.py
/usr/lib/systemd/system/kea-ctrl-agent.service
/usr/lib/systemd/system/kea-dhcp-ddns.service
/usr/lib/systemd/system/kea-dhcp4.service
/usr/lib/systemd/system/kea-dhcp6.service
/usr/lib/tmpfiles.d/kea.conf
/usr/sbin/kea-admin
/usr/sbin/kea-ctrl-agent
/usr/sbin/kea-dhcp-ddns
/usr/sbin/kea-dhcp4
/usr/sbin/kea-dhcp6
/usr/sbin/kea-lfc
/usr/sbin/kea-shell
/usr/sbin/keactrl
/usr/sbin/perfdhcp
/usr/share/doc/kea
/usr/share/doc/kea/AUTHORS
/usr/share/doc/kea/CONTRIBUTING.md
/usr/share/doc/kea/ChangeLog
/usr/share/doc/kea/README
/usr/share/doc/kea/code_of_conduct.md
/usr/share/doc/kea/examples
/usr/share/doc/kea/examples/agent
/usr/share/doc/kea/examples/agent/comments.json
/usr/share/doc/kea/examples/agent/simple.json
/usr/share/doc/kea/examples/ddns
/usr/share/doc/kea/examples/ddns/comments.json
/usr/share/doc/kea/examples/ddns/sample1.json
/usr/share/doc/kea/examples/ddns/template.json
/usr/share/doc/kea/examples/https
/usr/share/doc/kea/examples/https/httpd2
/usr/share/doc/kea/examples/https/httpd2/kea-httpd2.conf
/usr/share/doc/kea/examples/https/nginx
/usr/share/doc/kea/examples/https/nginx/kea-nginx.conf
/usr/share/doc/kea/examples/https/shell
/usr/share/doc/kea/examples/https/shell/kea-stunnel.conf
/usr/share/doc/kea/examples/kea4
/usr/share/doc/kea/examples/kea4/advanced.json
/usr/share/doc/kea/examples/kea4/all-keys-netconf.json
/usr/share/doc/kea/examples/kea4/all-keys.json
/usr/share/doc/kea/examples/kea4/backends.json
/usr/share/doc/kea/examples/kea4/cassandra.json
/usr/share/doc/kea/examples/kea4/classify.json
/usr/share/doc/kea/examples/kea4/classify2.json
/usr/share/doc/kea/examples/kea4/comments.json
/usr/share/doc/kea/examples/kea4/config-backend.json
/usr/share/doc/kea/examples/kea4/dhcpv4-over-dhcpv6.json
/usr/share/doc/kea/examples/kea4/global-reservations.json
/usr/share/doc/kea/examples/kea4/ha-load-balancing-primary.json
/usr/share/doc/kea/examples/kea4/hooks-radius.json
/usr/share/doc/kea/examples/kea4/hooks.json
/usr/share/doc/kea/examples/kea4/leases-expiration.json
/usr/share/doc/kea/examples/kea4/multiple-options.json
/usr/share/doc/kea/examples/kea4/mysql-reservations.json
/usr/share/doc/kea/examples/kea4/pgsql-reservations.json
/usr/share/doc/kea/examples/kea4/reservations.json
/usr/share/doc/kea/examples/kea4/several-subnets.json
/usr/share/doc/kea/examples/kea4/shared-network.json
/usr/share/doc/kea/examples/kea4/single-subnet.json
/usr/share/doc/kea/examples/kea4/with-ddns.json
/usr/share/doc/kea/examples/kea6
/usr/share/doc/kea/examples/kea6/advanced.json
/usr/share/doc/kea/examples/kea6/all-keys-netconf.json
/usr/share/doc/kea/examples/kea6/all-keys.json
/usr/share/doc/kea/examples/kea6/backends.json
/usr/share/doc/kea/examples/kea6/cassandra.json
/usr/share/doc/kea/examples/kea6/classify.json
/usr/share/doc/kea/examples/kea6/classify2.json
/usr/share/doc/kea/examples/kea6/comments.json
/usr/share/doc/kea/examples/kea6/config-backend.json
/usr/share/doc/kea/examples/kea6/dhcpv4-over-dhcpv6.json
/usr/share/doc/kea/examples/kea6/duid.json
/usr/share/doc/kea/examples/kea6/global-reservations.json
/usr/share/doc/kea/examples/kea6/ha-hot-standby.json
/usr/share/doc/kea/examples/kea6/hooks.json
/usr/share/doc/kea/examples/kea6/iPXE.json
/usr/share/doc/kea/examples/kea6/leases-expiration.json
/usr/share/doc/kea/examples/kea6/multiple-options.json
/usr/share/doc/kea/examples/kea6/mysql-reservations.json
/usr/share/doc/kea/examples/kea6/pgsql-reservations.json
/usr/share/doc/kea/examples/kea6/reservations.json
/usr/share/doc/kea/examples/kea6/several-subnets.json
/usr/share/doc/kea/examples/kea6/shared-network.json
/usr/share/doc/kea/examples/kea6/simple.json
/usr/share/doc/kea/examples/kea6/softwire46.json
/usr/share/doc/kea/examples/kea6/stateless.json
/usr/share/doc/kea/examples/kea6/tee-times.json
/usr/share/doc/kea/examples/kea6/with-ddns.json
/usr/share/doc/kea/examples/netconf
/usr/share/doc/kea/examples/netconf/comments.json
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/boot.json
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/logging.xml
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/netconf.json
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/startup.xml
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/twopools.xml
/usr/share/doc/kea/examples/netconf/kea-dhcp6-operations/twosubnets.xml
/usr/share/doc/kea/examples/netconf/simple-dhcp4.json
/usr/share/doc/kea/examples/netconf/simple-dhcp6.json
/usr/share/doc/kea/html
/usr/share/doc/kea/html/.buildinfo
/usr/share/doc/kea/html/_images
/usr/share/doc/kea/html/_images/appendRequestedOptions.svg
/usr/share/doc/kea/html/_images/appendRequestedVendorOptions.svg
/usr/share/doc/kea/html/_images/assign-lease4.svg
/usr/share/doc/kea/html/_images/buildCfgOptionList.svg
/usr/share/doc/kea/html/_images/currentHost4.svg
/usr/share/doc/kea/html/_images/kea-logo-200.png
/usr/share/doc/kea/html/_images/lease-states.svg
/usr/share/doc/kea/html/_images/main-loop.svg
/usr/share/doc/kea/html/_images/packet4.svg
/usr/share/doc/kea/html/_images/request4-lease.svg
/usr/share/doc/kea/html/_images/request4.svg
/usr/share/doc/kea/html/_images/requestLease4.svg
/usr/share/doc/kea/html/_images/select4.svg
/usr/share/doc/kea/html/_sources
/usr/share/doc/kea/html/_sources/api.rst.txt
/usr/share/doc/kea/html/_sources/arm
/usr/share/doc/kea/html/_sources/arm/acknowledgments.rst.txt
/usr/share/doc/kea/html/_sources/arm/admin.rst.txt
/usr/share/doc/kea/html/_sources/arm/agent.rst.txt
/usr/share/doc/kea/html/_sources/arm/classify.rst.txt
/usr/share/doc/kea/html/_sources/arm/config.rst.txt
/usr/share/doc/kea/html/_sources/arm/congestion-handling.rst.txt
/usr/share/doc/kea/html/_sources/arm/ctrl-channel.rst.txt
/usr/share/doc/kea/html/_sources/arm/database-connectivity.rst.txt
/usr/share/doc/kea/html/_sources/arm/ddns.rst.txt
/usr/share/doc/kea/html/_sources/arm/dhcp4-srv.rst.txt
/usr/share/doc/kea/html/_sources/arm/dhcp6-srv.rst.txt
/usr/share/doc/kea/html/_sources/arm/hooks.rst.txt
/usr/share/doc/kea/html/_sources/arm/install.rst.txt
/usr/share/doc/kea/html/_sources/arm/intro.rst.txt
/usr/share/doc/kea/html/_sources/arm/keactrl.rst.txt
/usr/share/doc/kea/html/_sources/arm/lease-expiration.rst.txt
/usr/share/doc/kea/html/_sources/arm/lfc.rst.txt
/usr/share/doc/kea/html/_sources/arm/logging.rst.txt
/usr/share/doc/kea/html/_sources/arm/netconf.rst.txt
/usr/share/doc/kea/html/_sources/arm/quickstart.rst.txt
/usr/share/doc/kea/html/_sources/arm/shell.rst.txt
/usr/share/doc/kea/html/_sources/arm/stats.rst.txt
/usr/share/doc/kea/html/_sources/arm/stork.rst.txt
/usr/share/doc/kea/html/_sources/index.rst.txt
/usr/share/doc/kea/html/_sources/kea-messages.rst.txt
/usr/share/doc/kea/html/_sources/man
/usr/share/doc/kea/html/_sources/man/kea-admin.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-ctrl-agent.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-dhcp-ddns.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-dhcp4.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-dhcp6.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-lfc.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-netconf.8.rst.txt
/usr/share/doc/kea/html/_sources/man/kea-shell.8.rst.txt
/usr/share/doc/kea/html/_sources/man/keactrl.8.rst.txt
/usr/share/doc/kea/html/_sources/man/perfdhcp.8.rst.txt
/usr/share/doc/kea/html/_sources/manpages.rst.txt
/usr/share/doc/kea/html/_sources/umls.rst.txt
/usr/share/doc/kea/html/_static
/usr/share/doc/kea/html/_static/ajax-loader.gif
/usr/share/doc/kea/html/_static/basic.css
/usr/share/doc/kea/html/_static/comment-bright.png
/usr/share/doc/kea/html/_static/comment-close.png
/usr/share/doc/kea/html/_static/comment.png
/usr/share/doc/kea/html/_static/css
/usr/share/doc/kea/html/_static/css/badge_only.css
/usr/share/doc/kea/html/_static/css/theme.css
/usr/share/doc/kea/html/_static/doctools.js
/usr/share/doc/kea/html/_static/documentation_options.js
/usr/share/doc/kea/html/_static/down-pressed.png
/usr/share/doc/kea/html/_static/down.png
/usr/share/doc/kea/html/_static/file.png
/usr/share/doc/kea/html/_static/fonts
/usr/share/doc/kea/html/_static/fonts/Inconsolata-Bold.ttf
/usr/share/doc/kea/html/_static/fonts/Inconsolata-Regular.ttf
/usr/share/doc/kea/html/_static/fonts/Lato-Bold.ttf
/usr/share/doc/kea/html/_static/fonts/Lato-BoldItalic.ttf
/usr/share/doc/kea/html/_static/fonts/Lato-Italic.ttf
/usr/share/doc/kea/html/_static/fonts/Lato-Regular.ttf
/usr/share/doc/kea/html/_static/fonts/RobotoSlab-Bold.ttf
/usr/share/doc/kea/html/_static/fonts/RobotoSlab-Regular.ttf
/usr/share/doc/kea/html/_static/fonts/fontawesome-webfont.eot
/usr/share/doc/kea/html/_static/fonts/fontawesome-webfont.svg
/usr/share/doc/kea/html/_static/fonts/fontawesome-webfont.ttf
/usr/share/doc/kea/html/_static/fonts/fontawesome-webfont.woff
/usr/share/doc/kea/html/_static/fonts/fontawesome-webfont.woff2
/usr/share/doc/kea/html/_static/jquery-3.2.1.js
/usr/share/doc/kea/html/_static/jquery.js
/usr/share/doc/kea/html/_static/js
/usr/share/doc/kea/html/_static/js/modernizr.min.js
/usr/share/doc/kea/html/_static/js/theme.js
/usr/share/doc/kea/html/_static/kea-imageonly-100bw.png
/usr/share/doc/kea/html/_static/kea-logo-200.png
/usr/share/doc/kea/html/_static/kea.css
/usr/share/doc/kea/html/_static/minus.png
/usr/share/doc/kea/html/_static/plus.png
/usr/share/doc/kea/html/_static/pygments.css
/usr/share/doc/kea/html/_static/searchtools.js
/usr/share/doc/kea/html/_static/static_sources.mk
/usr/share/doc/kea/html/_static/underscore-1.3.1.js
/usr/share/doc/kea/html/_static/underscore.js
/usr/share/doc/kea/html/_static/up-pressed.png
/usr/share/doc/kea/html/_static/up.png
/usr/share/doc/kea/html/_static/websupport.js
/usr/share/doc/kea/html/api.html
/usr/share/doc/kea/html/arm
/usr/share/doc/kea/html/arm/acknowledgments.html
/usr/share/doc/kea/html/arm/admin.html
/usr/share/doc/kea/html/arm/agent.html
/usr/share/doc/kea/html/arm/classify.html
/usr/share/doc/kea/html/arm/config.html
/usr/share/doc/kea/html/arm/congestion-handling.html
/usr/share/doc/kea/html/arm/ctrl-channel.html
/usr/share/doc/kea/html/arm/database-connectivity.html
/usr/share/doc/kea/html/arm/ddns.html
/usr/share/doc/kea/html/arm/dhcp4-srv.html
/usr/share/doc/kea/html/arm/dhcp6-srv.html
/usr/share/doc/kea/html/arm/hooks.html
/usr/share/doc/kea/html/arm/install.html
/usr/share/doc/kea/html/arm/intro.html
/usr/share/doc/kea/html/arm/keactrl.html
/usr/share/doc/kea/html/arm/lease-expiration.html
/usr/share/doc/kea/html/arm/lfc.html
/usr/share/doc/kea/html/arm/logging.html
/usr/share/doc/kea/html/arm/netconf.html
/usr/share/doc/kea/html/arm/quickstart.html
/usr/share/doc/kea/html/arm/shell.html
/usr/share/doc/kea/html/arm/stats.html
/usr/share/doc/kea/html/arm/stork.html
/usr/share/doc/kea/html/genindex.html
/usr/share/doc/kea/html/index.html
/usr/share/doc/kea/html/kea-messages.html
/usr/share/doc/kea/html/man
/usr/share/doc/kea/html/man/kea-admin.8.html
/usr/share/doc/kea/html/man/kea-ctrl-agent.8.html
/usr/share/doc/kea/html/man/kea-dhcp-ddns.8.html
/usr/share/doc/kea/html/man/kea-dhcp4.8.html
/usr/share/doc/kea/html/man/kea-dhcp6.8.html
/usr/share/doc/kea/html/man/kea-lfc.8.html
/usr/share/doc/kea/html/man/kea-netconf.8.html
/usr/share/doc/kea/html/man/kea-shell.8.html
/usr/share/doc/kea/html/man/keactrl.8.html
/usr/share/doc/kea/html/man/perfdhcp.8.html
/usr/share/doc/kea/html/manpages.html
/usr/share/doc/kea/html/objects.inv
/usr/share/doc/kea/html/search.html
/usr/share/doc/kea/html/searchindex.js
/usr/share/doc/kea/html/umls.html
/usr/share/doc/kea/platforms.rst
/usr/share/kea
/usr/share/kea/scripts
/usr/share/kea/scripts/admin-utils.sh
/usr/share/kea/scripts/cql
/usr/share/kea/scripts/cql/dhcpdb_create.cql
/usr/share/kea/scripts/cql/dhcpdb_drop.cql
/usr/share/kea/scripts/cql/upgrade_1.0_to_2.0.sh
/usr/share/kea/scripts/cql/upgrade_2.0_to_3.0.sh
/usr/share/kea/scripts/cql/upgrade_3.0_to_4.0.sh
/usr/share/kea/scripts/cql/upgrade_4.0_to_5.0.sh
/usr/share/kea/scripts/cql/wipe_data.sh
/usr/share/kea/scripts/mysql
/usr/share/kea/scripts/mysql/dhcpdb_create.mysql
/usr/share/kea/scripts/mysql/dhcpdb_drop.mysql
/usr/share/kea/scripts/mysql/upgrade_1.0_to_2.0.sh
/usr/share/kea/scripts/mysql/upgrade_2.0_to_3.0.sh
/usr/share/kea/scripts/mysql/upgrade_3.0_to_4.0.sh
/usr/share/kea/scripts/mysql/upgrade_4.0_to_4.1.sh
/usr/share/kea/scripts/mysql/upgrade_4.1_to_5.0.sh
/usr/share/kea/scripts/mysql/upgrade_5.0_to_5.1.sh
/usr/share/kea/scripts/mysql/upgrade_5.1_to_5.2.sh
/usr/share/kea/scripts/mysql/upgrade_5.2_to_6.0.sh
/usr/share/kea/scripts/mysql/upgrade_6.0_to_7.0.sh
/usr/share/kea/scripts/mysql/upgrade_7.0_to_8.0.sh
/usr/share/kea/scripts/mysql/upgrade_8.0_to_8.1.sh
/usr/share/kea/scripts/mysql/upgrade_8.1_to_8.2.sh
/usr/share/kea/scripts/mysql/upgrade_8.2_to_9.0.sh
/usr/share/kea/scripts/mysql/upgrade_9.0_to_9.1.sh
/usr/share/kea/scripts/mysql/upgrade_9.1_to_9.2.sh
/usr/share/kea/scripts/mysql/upgrade_9.2_to_9.3.sh
/usr/share/kea/scripts/mysql/wipe_data.sh
/usr/share/kea/scripts/pgsql
/usr/share/kea/scripts/pgsql/dhcpdb_create.pgsql
/usr/share/kea/scripts/pgsql/dhcpdb_drop.pgsql
/usr/share/kea/scripts/pgsql/upgrade_1.0_to_2.0.sh
/usr/share/kea/scripts/pgsql/upgrade_2.0_to_3.0.sh
/usr/share/kea/scripts/pgsql/upgrade_3.0_to_3.1.sh
/usr/share/kea/scripts/pgsql/upgrade_3.1_to_3.2.sh
/usr/share/kea/scripts/pgsql/upgrade_3.2_to_3.3.sh
/usr/share/kea/scripts/pgsql/upgrade_3.3_to_4.0.sh
/usr/share/kea/scripts/pgsql/upgrade_4.0_to_5.0.sh
/usr/share/kea/scripts/pgsql/upgrade_5.0_to_5.1.sh
/usr/share/kea/scripts/pgsql/upgrade_5.1_to_6.0.sh
/usr/share/kea/scripts/pgsql/upgrade_6.0_to_6.1.sh
/usr/share/kea/scripts/pgsql/wipe_data.sh
/usr/share/licenses/kea
/usr/share/licenses/kea/COPYING
/usr/share/man/man8/kea-admin.8.gz
/usr/share/man/man8/kea-ctrl-agent.8.gz
/usr/share/man/man8/kea-dhcp-ddns.8.gz
/usr/share/man/man8/kea-dhcp4.8.gz
/usr/share/man/man8/kea-dhcp6.8.gz
/usr/share/man/man8/kea-lfc.8.gz
/usr/share/man/man8/kea-netconf.8.gz
/usr/share/man/man8/kea-shell.8.gz
/usr/share/man/man8/keactrl.8.gz
/usr/share/man/man8/perfdhcp.8.gz
/var/lib/kea
/var/lib/kea/kea-leases4.csv
/var/lib/kea/kea-leases6.csv

References

Summary

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