4 (Tested on Ubuntu 14.04, 16.04, 17.10, 18.04, Debian jessie, stretch and
7 1. Install build dependencies for your platform as outlined in :ref:`building`.
9 2. Install the general Debian package building tools:
13 apt-get install equivs fakeroot debhelper devscripts
15 3. Checkout FRR under a **unprivileged** user account:
19 git clone https://github.com/frrouting/frr.git frr
22 If you wish to build a package for a branch other than master:
28 4. Build Debian package dependencies and install them as needed.
32 sudo mk-build-deps --install debian/control
34 5. Run ``bootstrap.sh``:
36 (This step should be omitted if you are using a "debian" branch, as opposed
37 to the "master", a "stable/X.X" or any other non-"debian" branch.)
42 ./configure --with-pkg-extra-version=-MyDebPkgVersion
46 Configure parameters are not important for the Debian Package building -
47 except the `with-pkg-extra-version` if you want to give the Debian
48 package a specific name to mark your own unoffical build.
50 6. Build Debian Package
52 Building with standard options:
60 If all worked correctly, then you should end up with the Debian packages in
61 the parent directory. If distributed, please make sure you distribute it
62 together with the sources (``frr_*.orig.tar.gz``, ``frr_*.debian.tar.xz`` and