]> git.proxmox.com Git - mirror_frr.git/blob - doc/developer/include-compile.rst
Merge pull request #12797 from jvidalallende/ubi8_minimal_dockerfile
[mirror_frr.git] / doc / developer / include-compile.rst
1 Clone the FRR git repo and use the included ``configure`` script to configure
2 FRR's build time options to your liking. The full option listing can be
3 obtained by running ``./configure -h``. The options shown below are examples.
4
5 .. code-block:: console
6
7 git clone https://github.com/frrouting/frr.git frr
8 cd frr
9 ./bootstrap.sh
10 ./configure \
11 --prefix=/usr \
12 --includedir=\${prefix}/include \
13 --bindir=\${prefix}/bin \
14 --sbindir=\${prefix}/lib/frr \
15 --libdir=\${prefix}/lib/frr \
16 --libexecdir=\${prefix}/lib/frr \
17 --localstatedir=/var/run/frr \
18 --sysconfdir=/etc/frr \
19 --with-moduledir=\${prefix}/lib/frr/modules \
20 --with-libyang-pluginsdir=\${prefix}/lib/frr/libyang_plugins \
21 --enable-configfile-mask=0640 \
22 --enable-logfile-mask=0640 \
23 --enable-snmp=agentx \
24 --enable-multipath=64 \
25 --enable-user=frr \
26 --enable-group=frr \
27 --enable-vty-group=frrvty \
28 --with-pkg-git-version \
29 --with-pkg-extra-version=-MyOwnFRRVersion
30 make
31 sudo make install