Dump1090-fa download problem


#1

I’m trying to do a clean install of dump1090-fa/piaware on a ubuntu server as per the instructions on the FlightAware site.

When I do: apt-get install dump1090-fa_
I get: Unable to locate package dump1090-fa

Has the package been moved ?


#2

You are trying to install dump1090-fa on which hardware/architecture, armv7 (RPi) or x86/amd64 (PC)?


#3

The package install only works on arm systems.
Here are the instruction page to add the repository for the piaware+dump1090 package:
https://flightaware.com/adsb/piaware/install

The actual commands to add the download the repository location and add it to your system.
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.5.3_all.deb
sudo dpkg -i piaware-repository_3.5.3_all.deb

This will not work on x86 systems. You will need to download the files from GitHub and compile the software. There are some scripts floating around the forums but these are not maintained by FlightAware.


#4

@OldDxer:
The Flightaware package from apt repository is for RPi (arm7).
For PC (i386/x86/amd64), you need to build package from source.
J Prochazka has written script for doing this automatically.
Using this script, I have installed dump1090-mutability and Piaware data feeder on my PC running Ubuntu 16.04, but option to install dump1090-fa is also available in this script.

.
.

Here are the commands to downloads and run the script

sudo apt-get update
sudo apt-get install git
git clone https://github.com/jprochazka/adsb-receiver.git
cd ~/adsb-receiver
chmod +x install.sh
./install.sh

.
For details and instructions, please see this thread:


#5

@OldDxer:
The current version of J Prochazka’s script successfully installs dump1090-fa on Ubuntu 16.04 x86/amd64. However the script installs older version 3.5.1 of dump1090-fa. However it installs latest version 3.5.3 of Piaware data feeder add-on.

The reason is the script clones Github’s master branch of dump1090, which is version 3.5.1. The version 3.5.3 is available in dev branch.

I therefore used manual method to build and install dump1090-fa from dev branch. The step-by-step method is given below the screenshot.

.

STEP-BY-STEP METHOD TO MANUALLY INSTALL VER 3.5.3 (DEV BRANCH)

.

(1) Update system and install git

cd ~

sudo apt-get update
sudo apt-get install git

(2) Build and install bladeRF

#install dependencies for bladeRF
sudo apt-get install cmake doxygen libtecla-dev help2man pandoc

sudo mkdir build

cd build
sudo git clone https://github.com/Nuand/bladeRF.git
cd bladeRF
sudo dpkg-buildpackage -b

cd ../
sudo dpkg --install libbladerf1_*.deb
sudo dpkg --install libbladerf-dev_*.deb
sudo dpkg --install libbladerf-udev_*.deb

.

(3) Build and install dump1090-fa

#install dependencies for dump1090-fa
sudo apt-get install librtlsdr-dev debhelper dh-systemd libncurses5-dev lighttpd

#clone dump1090
sudo git clone https://github.com/flightaware/dump1090.git

#set git repository to dev branch
cd dump1090
sudo git fetch --all
sudo git reset --hard origin/dev

#build installation package
sudo dpkg-buildpackage -b

#install dump1090
cd ../
sudo dpkg --install dump1090-fa_*_amd64.deb
sudo /etc/init.d/lighttpd force-reload

sudo reboot

.

(4) Set your location, and display site circles on SkyView map:

sudo nano /etc/default/dump1090-fa

#scroll down to following line
DECODER_OPTIONS="--max-range 360"

#add your latitude and longitude as shown below.
#replace xx.xxxx and yy.yyyy by your actual latitude and longitude
DECODER_OPTIONS="--lat xx.xxxx --lon yy.yyyy --max-range 360"

#save file (Ctrl+o) close file (Ctrl+x)

#restart dump1090-fa
sudo systemctl restart dump1090-fa

Reload your browser. If Station Marker and Site Circles do not show, clear browser cache (Ctrl+Shift+Delete) and then hard reload the browser (Ctrl+F5).

That is all. Enjoy…


#6

Making the best attempt at getting dump1090-fa to build using these instructions but ran into the following when trying to build bladeRF:

– Configured to build bladeRF-cli version: 1.5.1-git-8b420eb
CMake Error at host/utilities/bladeRF-fsk/c/CMakeLists.txt:261 (target_compile_definitions):
Unknown CMake command “target_compile_definitions”.

Comments?

J


#7

This is strange. Just now I repeated the blade RF built procedure (Ubuntu 16.04 x64 on PC with intel CPU) exactly as given in my last post, and it completed successfully.

  1. POSIBILITY-A:
    Seems in your case one or more of the dependencies did not install properly. Please repeat the following command and watch the output. If all dependencies were installed, it will show that. If any was missed out, it will try to install it .

    sudo apt-get install cmake doxygen libtecla-dev help2man pandoc

    After above command, try again to build bladeRF.

  2. POSSIBILITY-B:
    If all above fails, then another possibility is that some file got corrupted while cloning bladeRF from Github. Delete the cloned folder bladeRF, and clone again, and then try to build:

    cd build
    #Delete folder bladeRF which was cloned from Github
    sudo rm -rf bladeRF
    
    #Clone fresh copy of bladeRF from Github
    sudo git clone https://github.com/Nuand/bladeRF.git
    
    #Now build the bladeRF packages
    cd bladeRF
    sudo dpkg-buildpackage -b
    

#8

Method successfully tested on Debian Jessie adm64 too.

Congratulations!

A little remark: sudo is not required for git and dpkg-buildpackage.

Regards