2009-05-25 01:41:20 +02:00
|
|
|
How to install BIRD
|
|
|
|
|
===================
|
|
|
|
|
|
2025-02-11 12:01:59 +01:00
|
|
|
There are packages available for most of the existing distributions, and it is
|
|
|
|
|
possibly a cleaner way to install BIRD than manually.
|
|
|
|
|
|
|
|
|
|
To install BIRD manually from the source tarball, you need to first build it.
|
|
|
|
|
|
2009-05-25 01:41:20 +02:00
|
|
|
$ ./configure
|
|
|
|
|
$ make
|
2025-02-11 12:01:59 +01:00
|
|
|
|
|
|
|
|
After this, you get binaries bird, birdc and birdcl which will run perfectly
|
|
|
|
|
from wherever you put them. You can install them to the system paths if you want.
|
|
|
|
|
|
2009-05-25 01:41:20 +02:00
|
|
|
# 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
|
2019-01-03 17:11:56 +01:00
|
|
|
by --prefix, --sysconfdir and --runstatedir configure options, e.g.:
|
|
|
|
|
|
|
|
|
|
$ ./configure --prefix=/usr --sysconfdir=/etc --runstatedir=/run
|
2009-05-25 01:41:20 +02:00
|
|
|
|
2017-05-09 16:46:41 +02:00
|
|
|
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):
|
|
|
|
|
|
2019-01-03 17:11:56 +01:00
|
|
|
$ git clone https://gitlab.labs.nic.cz/labs/bird/
|
2017-05-09 16:46:41 +02:00
|
|
|
$ cd bird
|
|
|
|
|
$ autoreconf
|
|
|
|
|
|
|
|
|
|
Then continue as in usual installation above.
|
|
|
|
|
|
2025-02-11 12:01:59 +01:00
|
|
|
For debugging and development, it's recommended to use the -l flag for BIRD
|
|
|
|
|
binaries to use bird.conf and bird.ctl in the current directory, instead of
|
|
|
|
|
system-wide installation of an unstable version.
|
|
|
|
|
|
2009-05-25 01:41:20 +02:00
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
For compiling BIRD you need these programs and libraries:
|
|
|
|
|
|
2017-05-09 16:46:41 +02:00
|
|
|
- GNU C Compiler (or LLVM Clang)
|
2009-05-25 01:41:20 +02:00
|
|
|
- GNU Make
|
|
|
|
|
- GNU Bison
|
|
|
|
|
- GNU M4
|
|
|
|
|
- Flex
|
|
|
|
|
|
|
|
|
|
- ncurses library
|
2019-01-03 17:11:56 +01:00
|
|
|
- GNU Readline library
|
|
|
|
|
- libssh library (optional, for RPKI-Router protocol)
|
2009-05-25 01:41:20 +02:00
|
|
|
|
|
|
|
|
For compiling BIRD documentation you also need:
|
|
|
|
|
|
|
|
|
|
- Linuxdoc-Tools
|
|
|
|
|
- LaTeX
|
2025-04-02 13:44:02 +02:00
|
|
|
|
|
|
|
|
$ make docs
|