2016-07-14 22:26:14 +01:00
|
|
|
# dump1090-fa Debian/Raspbian packages
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2016-07-14 22:26:14 +01: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 22:26:14 +01:00
|
|
|
It is designed to build as a Debian package.
|
2015-01-20 16:49:01 +00:00
|
|
|
|
2019-04-28 15:08:01 +08: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 22:26:14 +01:00
|
|
|
## Building under jessie
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2017-01-30 22:03:02 +00:00
|
|
|
### Dependencies - bladeRF
|
|
|
|
|
|
|
|
|
|
You will need a build of libbladeRF. You can build packages from source:
|
|
|
|
|
|
2019-04-29 21:31:18 +08:00
|
|
|
```bash
|
2019-04-29 09:10:34 -04:00
|
|
|
$ git clone https://github.com/Nuand/bladeRF.git
|
|
|
|
|
$ cd bladeRF
|
|
|
|
|
$ git checkout 2017.12-rc1
|
2017-01-30 22:03:02 +00:00
|
|
|
$ dpkg-buildpackage -b
|
2019-05-02 20:39:24 -07:00
|
|
|
```
|
2017-01-30 22:03:02 +00: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-02 20:41:20 -07:00
|
|
|
This is packaged with jessie. `sudo apt-get install librtlsdr-dev`
|
2017-01-30 22:03:02 +00:00
|
|
|
|
|
|
|
|
### Actually building it
|
|
|
|
|
|
2019-05-02 20:41:20 -07:00
|
|
|
Nothing special, just build it (`dpkg-buildpackage -b`)
|
2013-01-05 13:52:25 +01:00
|
|
|
|
2016-07-14 22:26:14 +01:00
|
|
|
## Building under wheezy
|
2016-07-05 22:25:31 +01:00
|
|
|
|
2019-05-02 20:41:20 -07: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 22:25:31 +01:00
|
|
|
|
2017-01-30 22:03:02 +00:00
|
|
|
The wheezy build does not include bladeRF support.
|
2017-02-09 13:40:08 +00: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 15:53:40 +04:00
|
|
|
``make BLADERF=no`` will disable bladeRF support and remove the dependency on
|
2017-02-09 13:40:08 +00:00
|
|
|
libbladeRF.
|
|
|
|
|
|
2019-05-02 23:00:26 -07:00
|
|
|
``make RTLSDR=no`` will disable rtl-sdr support and remove the dependency on
|
2017-02-09 13:40:08 +00:00
|
|
|
librtlsdr.
|