dump1090/README.md

61 lines
1.7 KiB
Markdown
Raw Normal View History

2016-07-14 23:26:14 +02:00
# dump1090-fa Debian/Raspbian packages
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.
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
### Dependencies - bladeRF
You will need a build of libbladeRF. You can build packages from source:
2018-11-21 12:53:40 +01:00
```bash
$ git clone https://github.com/Nuand/bladeRF.git
$ cd bladeRF
$ dpkg-buildpackage -b
2018-11-21 12:53:40 +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
This is packaged with jessie. "sudo apt-get install librtlsdr-dev"
### Actually building it
2016-07-14 23:26:14 +02:00
Nothing special, just build it ("dpkg-buildpackage -b")
2016-07-14 23:26:14 +02:00
## Building under wheezy
2016-07-05 23:25:31 +02:00
2017-02-09 14:40:08 +01:00
First run "prepare-wheezy-tree.sh". This will create a package tree in
2016-07-14 23:26:14 +02:00
package-wheezy/. Build in there ("dpkg-buildpackage -b")
2016-07-05 23:25:31 +02: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.
2018-11-21 12:53:40 +01:00
``make RTLSDR=no`` will disable rtl-sdr support and remove the dependency on
2017-02-09 14:40:08 +01:00
librtlsdr.