The following method to build & install piaware/dump1090-fa/dump978-fa has been tested on following Distros:
1 - Ubuntu 18.04 (Bionic) amd64
2 - Ubuntu 19.10 (Disco) amd64
3 - Debian 9.11 (Stretch) amd64
4 - Debian 10.2 (Buster) amd64
1- PIAWARE
1.1 - Install build tool & dependencies
sudo apt update
sudo apt install git debhelper autoconf dh-systemd
sudo apt install tcl8.6-dev python3-dev python3-venv libz-dev
sudo apt install libboost-system-dev libboost-program-options-dev
sudo apt install libboost-regex-dev libboost-filesystem-dev
sudo apt install tcl tclx8.4 tcllib tcl-tls itcl3 net-tools
.
1.2 - Clone source code, build package, and install it.
CASE - 1: Ububtu 18 (Bionic) / Debian 9 (Stretch)
cd ~/
git clone http://github.com/flightaware/piaware_builder
cd piaware_builder
sudo ./sensible-build.sh stretch
cd package-stretch
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i piaware_3.8.0_amd64.deb
.
CASE - 2: Ububtu 19 (Disco) / Debian 10 (Buster)
cd ~/
git clone http://github.com/flightaware/piaware_builder
cd piaware_builder
sudo ./sensible-build.sh buster
cd package-buster
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i piaware_3.8.0_amd64.deb
.
2 - DUMP1090-FA
2.1 - Install build tool & dependencies
sudo apt install pkg-config libgamin0 lighttpd librtlsdr-dev libusb-1.0-0-dev libncurses5-dev libbladerf-dev
.
2.2 - Clone source code, build package, and install it.
cd ~/
git clone https://github.com/flightaware/dump1090 dump1090-fa
cd dump1090-fa
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i dump1090-fa_3.8.0_amd64.deb
.
3 - DUMP978-FA
3.1 - Install build tool & dependencies
sudo apt install libsoapysdr-dev soapysdr-module-rtlsdr
.
3.2 - Clone source code, build package, and install it.
cd ~/
git clone https://github.com/flightaware/dump978 dump978-fa
cd dump978-fa
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i dump978-fa_3.8.0_amd64.deb
sudo dpkg -i skyaware978_3.8.0_amd64.deb
.
4 - Configuration for using both dump1090-fa & dump978-fa (Two dongles are required)
.
4.1 - Enable piaware to use dump978-fa
sudo piaware-config uat-receiver-type sdr
.
4.2 - Serialize dongles if using UAT 978: (CLICK HERE)
If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 and other for 978. In this case you will have to serialize dongles so that correct dongle+antenna sets are used by dump1090-fa and dump978-fa.
For 1090 Mhz dongle: use serial # 00001090
For 978 Mhz dongle : use serial # 00000978
.
4.3 - configure dump1090-fa & dump978-fa to use dongles of assigned serial numbers
sudo sed -i 's/--device-index 0/--device-index 00001090/' /etc/default/dump1090-fa
sudo sed -i 's/driver=rtlsdr/driver=rtlsdr,serial=00000978/' /etc/default/dump978-fa
## Reboot so that dump1090-fa & dump978-fa can pick their assigned dongles at boot
sudo reboot