1Clone the FRR git repo and use the included ``configure`` script to configure
2FRR's build time options to your liking. The full option listing can be
3obtained by running ``./configure -h``. The options shown below are examples.
4
5.. note::
6
7   If your platform uses ``systemd``, please make sure to add
8   ``--enable-systemd=yes`` to your configure options.
9
10.. code-block:: console
11
12   git clone https://github.com/frrouting/frr.git frr
13   cd frr
14   ./bootstrap.sh
15   ./configure \
16       --prefix=/usr \
17       --includedir=\${prefix}/include \
18       --enable-exampledir=\${prefix}/share/doc/frr/examples \
19       --bindir=\${prefix}/bin \
20       --sbindir=\${prefix}/lib/frr \
21       --libdir=\${prefix}/lib/frr \
22       --libexecdir=\${prefix}/lib/frr \
23       --localstatedir=/var/run/frr \
24       --sysconfdir=/etc/frr \
25       --with-moduledir=\${prefix}/lib/frr/modules \
26       --with-libyang-pluginsdir=\${prefix}/lib/frr/libyang_plugins \
27       --enable-configfile-mask=0640 \
28       --enable-logfile-mask=0640 \
29       --enable-snmp=agentx \
30       --enable-multipath=64 \
31       --enable-user=frr \
32       --enable-group=frr \
33       --enable-vty-group=frrvty \
34       --with-pkg-git-version \
35       --with-pkg-extra-version=-MyOwnFRRVersion
36   make
37   sudo make install
38