Debian Codegraph @

INSTALL

raw
1 How to install BIRD
2 ===================
3
4 There are packages available for most of the existing distributions, and it is
5 possibly a cleaner way to install BIRD than manually.
6
7 To install BIRD manually from the source tarball, you need to first build it.
8
9 $ ./configure
10 $ make
11
12 After this, you get binaries bird, birdc and birdcl which will run perfectly
13 from wherever you put them. You can install them to the system paths if you want.
14
15 # make install
16
17 Default location for configuration file is /usr/local/etc/bird.conf and
18 for control socket is /usr/local/var/run/bird.ctl . You can change that
19 by --prefix, --sysconfdir and --runstatedir configure options, e.g.:
20
21 $ ./configure --prefix=/usr --sysconfdir=/etc --runstatedir=/run
22
23 To compile current development BIRD source code from Git repository, you
24 also need Git (to download the source code) and Autoconf (to generate
25 the configure script and associated files using 'autoreconf' tool):
26
27 $ git clone https://gitlab.labs.nic.cz/labs/bird/
28 $ cd bird
29 $ autoreconf
30
31 Then continue as in usual installation above.
32
33 For debugging and development, it's recommended to use the -l flag for BIRD
34 binaries to use bird.conf and bird.ctl in the current directory, instead of
35 system-wide installation of an unstable version.
36
37
38 Requirements
39 ============
40
41 For compiling BIRD you need these programs and libraries:
42
43 - GNU C Compiler (or LLVM Clang) capable of compiling C11 code
44 - GNU Make
45 - GNU Bison (at least 3.0)
46 - GNU M4
47 - Flex
48
49 - ncurses library
50 - GNU Readline library
51 - libssh library (optional, for RPKI-Router protocol)
52
53 For compiling BIRD documentation you also need:
54
55 - Linuxdoc-Tools
56 - LaTeX
57
58 $ make docs