The following method to build & install ver 3.8.1 of piaware/dump1090-fa/dump978-fa has been tested on these Distros:
1 - Ubuntu 18.04 (Bionic) amd64
2 - Ubuntu 19.10 (Disco) amd64
3 - Debian 10.3 (Buster) amd64
1 - Install build tools (for Dump1090-fa and Piaware).
sudo apt update
sudo apt install git dh-systemd devscripts pkg-config
2 - Build & Install DUMP1090-FA
2.1 - Install dump1090-fa dependencies
sudo apt install lighttpd librtlsdr-dev libusb-1.0-0-dev libncurses5-dev libbladerf-dev
2.2 - Clone dump1090-fa source code, build package, and install package.
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.1*.deb
3 - Build and Install PIAWARE
3.1 - Install piaware dependencies
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 net-tools tclx8.4 tcllib itcl3
3.2 - Build & Install dependency tcl-tls
from source code.
## Install dependencies
sudo apt install libssl-dev tcl-dev chrpath
## Clone source code, build & Install tcl-tls
cd ~/
git clone http://github.com/flightaware/tcltls-rebuild.git
cd tcltls-rebuild
./prepare-build.sh buster
cd package-buster
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i tcl-tls_*.deb
3.3 - Clone piaware source code, build package, and install package.
CASE - 1: Ubuntu 18 (Bionic)
cd ~/
git clone http://github.com/flightaware/piaware_builder
cd piaware_builder
sudo ./sensible-build.sh bionic
cd package-bionic
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i piaware_3.8.1*.deb
CASE - 2: Ubuntu 19 (Disco)
cd ~/
git clone http://github.com/flightaware/piaware_builder
cd piaware_builder
sudo ./sensible-build.sh disco
cd package-disco
sudo dpkg-buildpackage -b --no-sign
cd ../
sudo dpkg -i piaware_3.8.1*.deb
CASE - 3: 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.1*.deb
4 - Configure Station ID
Alternative-1:
Get a brand new station number & feeder id
Log-in to your Flightaware account, go to this page and follow instructions to claim a new station https://flightaware.com/adsb/piaware/claim
Alternative-2:
Configure an Existing Station
(a) - Find existing station’s feeder-id (Unique Identifier)
Log-in to your Flightaware account, go to “My ADSB” / stats page
flightaware.com/adsb/stats/user/ ,
and look for 32-digit Unique Identifier: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Copy Unique Identifier from your “My ADSB” page.
(b) - SSH and configure station id:
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by your
# actual feeder-id (Unique Identifier)
sudo systemctl restart piaware
5 - Build and Install DUMP978-FA - (For USA only)
5.1 - Install dump978-fa dependencies
sudo apt install libsoapysdr-dev soapysdr-module-rtlsdr
5.2 - Clone dump978-fa 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.1*.deb
sudo dpkg -i skyaware978_3.8.1*.deb
5.3. - Enable piaware to use dump978-fa
sudo piaware-config uat-receiver-type sdr
sudo systemctl restart piaware
6 - Configuration for using both dump1090-fa & dump978-fa (Two dongles are required)
6.1 - Serialize dongles: (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
6.2 - 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
6.3 - Reboot so that dump1090-fa & dump978-fa can pick their assigned dongles at boot
sudo reboot
7 - Bonus: Install other data feeders
7.1 - Planefinder
Feed Planefinder from Debian, & Ubuntu x86_64
7.2 - Flightradar24
Automated Instal of FR24 Feeder on Debian & Ubuntu amd64 on Intel 64bit Computer