Basic installation instructions are located in ISC's knowledgebase at: https://kb.isc.org/docs/kea-build-on-debian.
What follows are notes for installing Kea with advanced features, including RADIUS and sysrepo. These features depend on other open source projects and the installation is more complicated as a result.
Installing with FreeRADIUS
@(Warning)()(You need to have the radius hook package for this to work)
Install FreeRADIUS client first.
wget -nd https://github.com/FreeRADIUS/freeradius-client/archive/release_1_1_7.tar.gz
tar zxvf release_1_1_7.tar.gz
cd freeradius-client-release_1_1_7
./configure --prefix=/usr/local
make
sudo make install
Extract Kea subscription radius hooks package to premium/ dir:
tar zxvf kea-radius-1.5.0.tar.gz
autoreconf -if
./configure --with-freeradius=/usr/local
Make sure the following entries are printed after configure is done:
Package:
Name: kea
Version: 1.5.0
Extended version: 1.5.0
OS Family: Linux
Using GNU sed: yes
Premium package: yes
Tier1 Packages: host_cmds flex_id legal_log
Tier2 Packages: high_availability subnet_cmds radius
Included Packages: host_cmds flex_id legal_log high_availability subnet_cmds radius
...
FreeRADIUS client:
FREERADIUS_INCLUDE: -I/usr/local/include
FREERADIUS_LIB: -L/usr/local/lib -lfreeradius-client
FREERADIUS_DICTIONARY: /usr/local/etc/radiusclient/dictionary
then compile as usual.