Appendix C: Manual Install

Flock Networks Routing Suite can be manually installed on any Linux system. The executables have no dependencies other than the Linux Kernel API (Sockets, Netlink, etc).

Extract the contents of the Debian package

You will need the ar archive utility from binutils.

For example on Fedora;

# yum install binutils

Then extract the contents of the debian package

$ ar x flockrsd_20.0.0_amd64.deb
$ ls
control.tar.gz  data.tar.xz  debian-binary  flockrsd_20.0.0_amd64.deb
$ tar -xf data.tar.xz
$ ls
control.tar.gz  debian-binary  flockrsd_20.0.0_amd64.deb  usr data.tar.xz etc lib

Install Files

The copyright / software licence file is here;

less usr/share/doc/flockrsd/copyright

Copy the flockrsd daemon config files to /etc/flockrsd

# mkdir /etc/flockrsd
# cp etc/flockrsd/* /etc/flockrsd

Copy the flockrsd daemon to /usr/sbin

# cp usr/sbin/flockrsd /usr/sbin

Copy the flockrsc client to /usr/bin

# cp usr/bin/flockrsc /usr/bin

Start the daemon

# RUST_LOG=info /usr/sbin/flockrsd &

Check the daemon is running

$ flockrsc system
{
    "version": "20.0.0",
    "pid": 24878,
    "compile_mode": "Release",
    "log_level": "error",
    "uptime": {
        "days": 0,
        "hours": 0,
        "mins": 0,
        "secs": 15
    }
}