Automated Installation of piaware 5.0, dump1090-fa 5.0, and dump978-fa 5.0 (by building packages from source code), on following OS:

(1) Ubuntu 20 - amd64

(2) Debian 10 - amd64

(3) Kali-linux 2020 - amd64


(1) DUMP1090-FA

Copy-paste following command in SSH console and press Enter key. The script will install dump1090-fa.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/mtigas/piaware-ubuntu20-amd64/master/install-dump1090-fa.sh)"

(2) PIAWARE

Copy-paste following command in SSH console and press Enter key. The script will install piaware.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/mtigas/piaware-ubuntu20-amd64/master/install-piaware.sh)"

(3) PIAWARE-WEB

Copy-paste following command in SSH console and press Enter key. The script will install piaware-web.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/mtigas/piaware-ubuntu20-amd64/master/install-piaware-web.sh)"

(4) DUMP978-FA (For USA ONLY. Requires 2nd Dongle)

If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 MHz and other for 978 MHz.

(4.1) Copy-paste following command in SSH console and press Enter key. The script will install dump978-fa and skyaware978:

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/mtigas/piaware-ubuntu20-amd64/master/install-dump978-fa.sh)"

(4.2) Serialize dongles as follows

If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 MHz and other for 978 MHz. 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.1.1) Issue following command to install serialization software:
sudo apt install rtl-sdr

(4.1.2) Unplug ALL DVB-T dongles from RPi

(4.1.3) Plugin only that DVB-T dongle which you want to use for dump1090-fa. All other dongles should be unplugged.

(4.1.4) Issue following command. Say yes when asked for confirmation to chang serial number.
rtl_eeprom -s 00001090

(4.1.5) Unplug 1090 dongle

(4.1.6) Plugin only that DVB-T dongle which you want to use for dump978-fa. All other dongles should be unplugged.

(4.1.7) Issue following command. Say yes when asked for confirmation to chang serial number.
rtl_eeprom -s 00000978

(4.1.8) Unplug 978 dongle

IMPORTANT: After completing above commands, unplug and then replug both dongles.

(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   

(4.4) - Reboot so that dump1090-fa & dump978-fa can pick their assigned dongles at boot

sudo reboot