Compiling LinBPQ on Raspberry PI

LinBPQ is packet radio node software widely used in the amateur radio community. You can download binaries, however, sometimes you need to compile the binary from source if you’re running it on an architecture that isn’t supported. These are the steps I took to compile LinBPQ on a Raspberry PI.

Compiling LinBPQ

First install the dependencies you’ll need to compile LibBPQ:

1apt install libjansson-dev libminiupnpc-dev libconfig++-dev zlib1g-dev
2apt install zlib1g-dev
3apt install libconfig++-dev
4apt install libminiupnpc-dev
5apt install libjansson-dev

Next download the source code from GitHub and then compile LinBPQ. I’m not using MQTT and I experienced errors compiling the binary with MQTT support, so, I’ve compiled my binary without MQTT support using the make nomqtt command:

1git clone https://github.com/g8bpq/linbpq.git ./src
2cd src
3make clean
4make nomqtt

You’ll end up with a linbpq binary in the src folder.