dump1090-fa/README.md

105 lines
3.3 KiB
Markdown
Raw Normal View History

2016-07-14 21:26:14 +00:00
# dump1090-fa Debian/Raspbian packages
dump1090-fa is a ADS-B, Mode S, and Mode 3A/3C demodulator and decoder that
will receive and decode aircraft transponder messages received via
a directly connected software defined radio, or from data provided over a
network connection.
It is the successor to
[dump1090-mutability](https://github.com/mutability/dump1090) and is
maintained by [FlightAware](http://flightaware.com/).
It can provide a display of locally received aircraft data in a terminal or
via a browser map. Together with [PiAware](http://flightaware.com/adsb/piaware)
it can be used to contribute crowd-sourced flight tracking data to FlightAware.
It is designed to build as a Debian package, but should also be buildable on
many other Linux or Unix-like systems.
## Building under buster
```bash
$ sudo apt-get install build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev libhackrf-dev liblimesuite-dev
$ dpkg-buildpackage -b --no-sign
```
2015-01-20 16:49:01 +00:00
2019-04-28 07:08:01 +00: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 --no-sign
2019-04-28 07:08:01 +00:00
```
2016-07-14 21:26:14 +00:00
## Building under jessie
### Dependencies - bladeRF
You will need a build of libbladeRF. You can build packages from source:
```bash
2019-04-29 13:10:34 +00:00
$ git clone https://github.com/Nuand/bladeRF.git
$ cd bladeRF
$ git checkout 2017.12-rc1
$ dpkg-buildpackage -b
```
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 03:41:20 +00:00
This is packaged with jessie. `sudo apt-get install librtlsdr-dev`
### Actually building it
2019-05-03 03:41:20 +00:00
Nothing special, just build it (`dpkg-buildpackage -b`)
## Building with limited dependencies
2016-07-05 21:25:31 +00:00
The package supports some build profiles to allow building without all
required SDR libraries being present. This will produce a package with
limited SDR support only.
2016-07-05 21:25:31 +00:00
Pass `--build-profiles` to `dpkg-buildpackage` with a comma-separated list of
profiles. The list of profiles should include `custom` and zero or more of
`rtlsdr`, `bladerf`, `hackrf`, `limesdr` depending on what you want:
```bash
$ dpkg-buildpackage -b --no-sign --build-profiles=custom,rtlsdr # builds with rtlsdr support only
$ dpkg-buildpackage -b --no-sign --build-profiles=custom,rtlsdr,bladerf # builds with rtlsdr and bladeRF support
$ dpkg-buildpackage -b --no-sign --build-profiles=custom # builds with _no_ SDR support (network support only)
```
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 11:53:40 +00:00
``make BLADERF=no`` will disable bladeRF support and remove the dependency on
2017-02-09 13:40:08 +00:00
libbladeRF.
``make RTLSDR=no`` will disable rtl-sdr support and remove the dependency on
2017-02-09 13:40:08 +00:00
librtlsdr.
2019-12-09 21:55:40 +00:00
``make HACKRF=no`` will disable HackRF support and remove the dependency on
libhackrf.
``make LIMESDR=no`` will disable LimeSDR support and remove the dependency on
libLimeSuite.
## Building on OSX
Minimal testing, YMMV.
```
$ brew install librtlsdr
$ brew install libbladerf
$ brew install pkg-config
$ make
```
2017-02-09 13:40:08 +00:00