For the basic installation notes, please see ISC's Knowledgebase. This wiki page documents installation for the integration of Kea with sysrepo and RADIUS.
Building with FreeRADIUS (optional)
You need to have the subscription or premium package to make this work.
Install the FreeRADIUS client first:
git clone https://github.com/FreeRADIUS/freeradius-client.gitcd freeradius-client./configure --prefix=/usr/localmakesudo make install
Extract the Kea subscription (or premium) package to the "premium" subdirectory of the directory holding the Kea source, regenerate the "configure" script, then build with the "--with-freeradius" switch, specifying the directory into which you installed FreeRADIUS:
tar zxvf kea-subscription-1.4.0.tar.gzautoreconf -if./configure --with-freeradius=/usr/local
Make sure the following entries are printed after configure is done:
STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. The last version released during Kea development was 0.7.6. Note the sysrepo version is paired with the libyang one so when sysrepo is upgraded libyang must be upgraded before.
tar zxvf sysrepo-0.7.6.tar.gzcd sysrepo-0.7.6mkdir buildcd buildcmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON \ -DGEN_PYTHON_BINDINGS=OFF -DGEN_LUA_BINDINGS=OFF -DENABLE_TESTS=OFF ..makesudo make install