INSTALL 1.01 KB
Newer Older
Ondřej Zajíček's avatar
Ondřej Zajíček committed
1 2 3 4 5 6 7 8 9
How to install BIRD
===================

$ ./configure
$ make
# make install

Default location for configuration file is /usr/local/etc/bird.conf and
for control socket is /usr/local/var/run/bird.ctl . You can change that
10 11 12
by --prefix, --sysconfdir and --runstatedir configure options, e.g.:

$ ./configure --prefix=/usr --sysconfdir=/etc --runstatedir=/run
Ondřej Zajíček's avatar
Ondřej Zajíček committed
13

14 15 16 17
To compile current development BIRD source code from Git repository, you
also need Git (to download the source code) and Autoconf (to generate
the configure script and associated files using 'autoreconf' tool):

18
$ git clone https://gitlab.labs.nic.cz/labs/bird/
19 20 21 22 23
$ cd bird
$ autoreconf

Then continue as in usual installation above.

Ondřej Zajíček's avatar
Ondřej Zajíček committed
24 25 26 27 28 29

Requirements
============

For compiling BIRD you need these programs and libraries:

30
 - GNU C Compiler (or LLVM Clang)
Ondřej Zajíček's avatar
Ondřej Zajíček committed
31 32 33 34 35 36
 - GNU Make
 - GNU Bison
 - GNU M4
 - Flex

 - ncurses library
37 38
 - GNU Readline library
 - libssh library (optional, for RPKI-Router protocol)
Ondřej Zajíček's avatar
Ondřej Zajíček committed
39 40 41 42 43

For compiling BIRD documentation you also need:

 - Linuxdoc-Tools
 - LaTeX