Skip to content

Installation on Ubuntu 16.10

Carsten Strotmann edited this page Jan 8, 2017 · 1 revision

System notes for Ubuntu 16.10

Install Ubuntu 16.10

Update your system:

# sudo apt-get update
# sudo apt-get upgrade

Reboot the system after updating packages.

Install dependencies necessary to compile Bundy:

Install tools required during compile

# sudo apt-get install libtool automake git build-essential pkg-config

Install dependency libraries (development packages)

# sudo apt-get install python3-dev libsqlite3-dev libbotan1.10-dev liblog4cplus-dev libgtest-dev libboost-dev python-setproctitle libssl-dev

Install dependencies required for manpages (optional)

# sudo apt-get install xsltproc docbook docbook-xsl elinks

Install header files for DHCP (optional - only if you plan to run DHCP/Kea)

# sudo apt-get install libmysql++-dev

Install some other useful tools to use with the Bundy codebase (these are optional)

# sudo apt-get install sqlite3 valgrind ccache

We are now ready to get and compile Bundy:

# git clone https://github.com/bundy-dns/bundy.git
# cd bundy
# autoreconf -i   # this tool is provided by automake package; it generates the configure script.
# ./configure --prefix=$HOME/local/bundy --with-log4cplus=/usr --with-gtest-source=/usr/src/gtest [--enable-generate-docs] [--with-dhcp-mysql]  # last option only required for DHCP/Kea builds
# make            # use non-root user for 'make' and 'make check'. 
# make check      # run the unit tests
# make install    # this installs Bundy in $HOME/local/bundy

At the end of these steps, Bundy should be installed in $HOME/local/bundy/.