wiki:SystemNotesUbuntu1604

Sample System-Specific Install Notes

2016-07-15: This page documents Kea installation on Ubuntu 16.04 LTS that was just installed.

Install required tools and dependencies

Install necessary tools first:

apt-get install libtool autoconf g++ libssl-dev liblog4cplus-dev libboost-dev

Compilation from git

If downloading from git:

git clone https://github.com/isc-projects/kea
cd kea
autoreconf -i
./configure
make
sudo make install

Compilation from tarball

If using a tarball:

tar zxvf kea-1.0.0.tar.gz
cd kea-1.0.0
./configure
make
sudo make install

Installing with MySQL (optional)

This is an optional dependency. You need it only if you want Kea to be able to store its information in MySQL:

sudo apt-get install libmysqlclient-dev
./configure --with-dhcp-mysql
...

Installing with PostgreSQL (optional)

This is an optional dependency. You need it only if you want Kea to be able to store its information in PostgreSQL:

sudo apt-get install libpq-dev postgresql-server-dev-all
./configure --with-dhcp-pgsql
...

Installing Cassandra (optional)

...

Installing dependencies for developers (optional)

Compile google-test framework, needed for running unit-tests:

unzip gtest-1.7.0.zip
cd gtest-1.7.0
./configure
make

Then compile Kea with:

./configure --with-gtest-source=/path/to/the/gtest

Installing dependencies for generating documentation (optional)

If you want to generate the documentation:

sudo apt-get install elinks docbook-xsl doxygen
./configure --enable-generate-docs
make
cd doc
make devel
Last modified 16 months ago Last modified on Jul 15, 2016, 7:00:18 PM