2016-07-14 23:26:14 +02:00
|
|
|
# dump1090-fa Debian/Raspbian packages
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2016-07-14 23:26:14 +02:00
|
|
|
This is a fork of [dump1090-mutability](https://github.com/mutability/dump1090)
|
|
|
|
customized for use within [FlightAware](http://flightaware.com)'s
|
|
|
|
[PiAware](http://flightaware.com/adsb/piaware) software.
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2016-07-14 23:26:14 +02:00
|
|
|
It is designed to build as a Debian package.
|
2015-01-20 17:49:01 +01:00
|
|
|
|
2019-04-28 09:08:01 +02:00
|
|
|
## Building under stretch
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ sudo apt-get install build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev
|
|
|
|
$ dpkg-buildpackage -b
|
|
|
|
```
|
|
|
|
|
2016-07-14 23:26:14 +02:00
|
|
|
## Building under jessie
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2017-01-30 23:03:02 +01:00
|
|
|
### Dependencies - bladeRF
|
|
|
|
|
|
|
|
You will need a build of libbladeRF. You can build packages from source:
|
|
|
|
|
2019-04-29 15:31:18 +02:00
|
|
|
```bash
|
2019-04-29 15:10:34 +02:00
|
|
|
$ git clone https://github.com/Nuand/bladeRF.git
|
|
|
|
$ cd bladeRF
|
|
|
|
$ git checkout 2017.12-rc1
|
2017-01-30 23:03:02 +01:00
|
|
|
$ dpkg-buildpackage -b
|
2019-05-03 05:39:24 +02:00
|
|
|
```
|
2017-01-30 23:03:02 +01:00
|
|
|
|
|
|
|
Or Nuand has some build/install instructions including an Ubuntu PPA
|
|
|
|
at https://github.com/Nuand/bladeRF/wiki/Getting-Started:-Linux
|
|
|
|
|
|
|
|
Or FlightAware provides armhf packages as part of the piaware repository;
|
|
|
|
see https://flightaware.com/adsb/piaware/install
|
|
|
|
|
|
|
|
### Dependencies - rtlsdr
|
|
|
|
|
2019-05-03 05:41:20 +02:00
|
|
|
This is packaged with jessie. `sudo apt-get install librtlsdr-dev`
|
2017-01-30 23:03:02 +01:00
|
|
|
|
|
|
|
### Actually building it
|
|
|
|
|
2019-05-03 05:41:20 +02:00
|
|
|
Nothing special, just build it (`dpkg-buildpackage -b`)
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2016-07-14 23:26:14 +02:00
|
|
|
## Building under wheezy
|
2016-07-05 23:25:31 +02:00
|
|
|
|
2019-05-03 05:41:20 +02:00
|
|
|
First run `prepare-wheezy-tree.sh`. This will create a package tree in
|
|
|
|
package-wheezy/. Build in there (`dpkg-buildpackage -b`)
|
2016-07-05 23:25:31 +02:00
|
|
|
|
2017-01-30 23:03:02 +01:00
|
|
|
The wheezy build does not include bladeRF support.
|
2017-02-09 14:40:08 +01:00
|
|
|
|
|
|
|
## Building manually
|
|
|
|
|
|
|
|
You can probably just run "make" after installing the required dependencies.
|
|
|
|
Binaries are built in the source directory; you will need to arrange to
|
|
|
|
install them (and a method for starting them) yourself.
|
|
|
|
|
2018-11-21 12:53:40 +01:00
|
|
|
``make BLADERF=no`` will disable bladeRF support and remove the dependency on
|
2017-02-09 14:40:08 +01:00
|
|
|
libbladeRF.
|
|
|
|
|
2019-05-03 08:00:26 +02:00
|
|
|
``make RTLSDR=no`` will disable rtl-sdr support and remove the dependency on
|
2017-02-09 14:40:08 +01:00
|
|
|
librtlsdr.
|