What is Easiest Way To Install Dump1090-Mutability

I was able to build and install the latest version myself by doing the following:

Edit 2nd Jan 2016: Member jprochazka has created a set of setup scripts that automate many essential decoder and feeder installations, including dump1090-mutability. More details here: ADS-B Feeder Project Setup Scripts

**Edit 2nd Jan 2016: ** On Orange Pi’s there are additional steps that need to be taken first. Thanks to abcd567 for working this out!


sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ca-certificates
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install cron

Edit 2nd Aug 2015: On a brand-new Pi (with Wheezy Raspbian) where nothing else is installed yet you will need to get some libraries for the dongle first. If you already have a version of dump1090 running successfully, then you don’t need to install them. Also, Jessie Raspbian seems to include these libraries and you probably don’t have to install them again.



~ $ wget https://github.com/mutability/librtlsdr/releases/download/v0.5.4_git-1/librtlsdr0_0.5.4.git-1_armhf.deb
~ $ wget https://github.com/mutability/librtlsdr/releases/download/v0.5.4_git-1/librtlsdr-dev_0.5.4.git-1_armhf.deb
~ $ sudo dpkg -i librtlsdr0_0.5.4.git-1_armhf.deb
~ $ sudo dpkg -i librtlsdr-dev_0.5.4.git-1_armhf.deb


Install git software if not already present on the system:


pi@raspberrypi ~ $ sudo apt-get install git-core

Make a git directory in your home directory and change into it:


pi@raspberrypi ~ $ mkdir git
pi@raspberrypi ~ $ cd git


Clone the repository to the pi:


pi@raspberrypi ~/git $ git clone https://github.com/mutability/dump1090.git

Install some more required packages:


pi@raspberrypi ~/git $ sudo apt-get install librtlsdr-dev libusb-1.0-0-dev pkg-config debhelper

Build the package from the cloned source on the pi. Need to be in the correct directory (dump1090):


pi@raspberrypi ~/git $ cd dump1090
pi@raspberrypi ~/git/dump1090 $ dpkg-buildpackage -b

The above will take a few minutes and if all goes to plan, should produce a package file:
~/git/dump1090-mutability_1.15~dev_armhf.deb (or whatever the latest version is)

Install the new dump1090-mutability package:


pi@raspberrypi ~/git/dump1090 $ cd ..
pi@raspberrypi ~/git $ sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb

Edit 25th December 2015.
It is recommended to disable the in-built web server of dump1090 and run a “proper” web server instead.

Reconfigure dump1090-mutability and enter “0” for the html port number (this disables the in-built web server):


pi@raspberrypi ~ $ sudo dpkg-reconfigure dump1090-mutability

Install lighttpd webserver and make dump1090 available:


pi@raspberrypi ~ $ sudo apt-get install lighttpd
pi@raspberrypi ~ $ sudo lighty-enable-mod dump1090
pi@raspberrypi ~ $ sudo /etc/init.d/lighttpd force-reload

dump1090-mutability web interface will now be available here: ](http://)/dump1090/

Whenever OBJ makes updates to the source, the process to update dump1090-mutability will be the following:

Update the local repository:


pi@raspberrypi ~/git/dump1090 $ git pull

Build and install same as previously:


pi@raspberrypi ~/git/dump1090 $ dpkg-buildpackage -b
pi@raspberrypi ~/git/dump1090 $ cd ..
pi@raspberrypi ~/git $ sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb


(replacing the version number as required)

I hope that my notes are accurate. I did not try an uninstall yet, so don’t know how that would be done.