[OUTDATED] Howto Install Piaware ver 3.8.0 on Ubuntu & Debian amd64

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  

3 Likes

Gain Setting: Package Install of dump978-fa

sudo nano /etc/default/dump978-fa 

## In line starting with RECEIVER_OPTIONS=, add following parameter:
## (replace xx by actual value of gain you want to set)

--sdr-gain xx 

## Save & Close file 

## Restart dump978-fa
sudo systemctl restart dump978-fa  

## Check status, It should show the gain set
sudo systemctl status dump978-fa  

2 Likes

I got this issue when trying to install piaware 3.8.0 :The following packages have unmet dependencies:
piaware : Depends: tcl-tls (>= 1.7.16-1+fa1) but 1.6.7+dfsg-1.2build1 is to be installed
This happens becaus e I got 3.8.1 instead. Do you have a fix ?
Thanks

See here:

1 Like

You are using wrong howto. This thread is for ver 3.8.0 (see title of this thread)

Please use howto for ver 3.8.1. That thread has solution for your problem (re-build tcl-tls from source code).

## Determine Debian version on which Ubuntu Bionic is based
$ cat /etc/debian_version
buster/sid 

 

2 Likes

Thank you very much !

Hi,
Now I’ve noticed that my ADS-B site information shows Piaware runing 3.7.2 instead of 3.8.1
and feeder has not recently checked…

(1) What is output of following commands?

apt policy piaware

apt policy dump1090-fa

(2) does the output of following command exactly match the Unique dentifier at your “My ADSB” site?

sudo piaware-config --show feeder-id

1 Like

iaware:
Installed: 3.8.1~ubuntu1804+1
Candidate: 3.8.1~ubuntu1804+1
Version table:
*** 3.8.1~ubuntu1804+1 100
100 /var/lib/dpkg/status
evo@evo-ubuntu-1804:~$ apt policy dump1090-fa
dump1090-fa:
Installed: 3.8.1
Candidate: 3.8.1
Version table:
*** 3.8.1 100
100 /var/lib/dpkg/status
xxxxxxxxx:~$ sudo piaware-config --show feeder-id
[sudo] password for xxx
xxxxxxxxx:~$ sudo piaware-config --show feeder-id
evo@evo-ubuntu-1804:~$ shows nothing!

Solved!

sudo systemctl stop piaware
sudo piaware-config feeder-id ""
sudo rm /var/cache/piaware/feeder_id
sudo systemctl restart piaware

Now it's OK
Thanks again

Hi,
It’s OK, now!
Thanks a lot!

1 Like