FlightAware Discussions

What is Easiest Way To Install Dump1090-Mutability

I’ve been slack on the packaging/release front because it’s a lot of effort to sort out for not much reward; doing user support is really not my idea of fun.
There’s plenty of development going on, you just have to build it yourself.

As I said, I’d recommend against it.

If you’re not willing to put a bit of effort, sure, that’s the best path. Or stick with the last released package, there’s nothing wrong with that package.
But please don’t imply that it’s been abandoned. It hasn’t been.

That’s exactly what I’m implying because it effectively has. Saying it hasn’t and then saying how you don’t want to do “support” is disingenuous at best. Comments like “just build it yourself” are useless to those of us that installed it and don’t have your level of expertise. Perhaps a little more detail would be beneficial or is that “support?”

OK guys, I didn’t mean to kick over the chamber pot. So I created a new SD chip with the Piaware image from FA. Want I want to do is remove my separate perfectly working SD chip with 2.07 on it and dump1090 from my Pi, lay it aside and take my newly created SD chip with the stock FA configuration and convert it to dump1090-mutability. What do I need to do? (I have SSH access to the Pi.) Do I need to disable dump1090? Joe K4AA

The instructions in the first post here still apply: ads-b-flight-tracking-f21/raspbian-ubuntu-packages-for-dump1090-mutability-available-t19619.html

If you run into problems with that on a piaware image, let me know. I don’t test that combination so there may be sticking points I’m not aware of.

@jim: if you don’t want to use it, don’t use it. Was there some problem with the latest package that you ran into? You don’t have to be running the latest and greatest if you don’t want to or if it is beyond your expertise. It’s not my responsibility to hold your hand.

edit: to be really clear: I’m happy to provide support for packaged versions. If you want to run a newer version that’s not packaged, I expect you to know enough to be able to solve the obvious problems yourself. If you’re not able to do that, stick to the packaged versions. I have not released a new version recently because I don’t want yet another version to support.

Instead of installing the FA Piaware image onto the new SD card I would suggest downloading the Raspbian image from the website below and start fresh. After your first boot, do a [sudo apt-get update && sudo apt-get upgrade] to pull down all the latest fixes and patches. Then follow my links from my earlier post to install Dump1090-mutability and Piaware.



Fine… would you dare lower yourself to a level to help a lowly fool like myself as to how uninstall piaware-mutability or is that something I should have known how to do before I went down this path? That way I can leave you be?

That’s a really weird way of asking for help, but sure:

$ sudo apt-get remove --purge dump1090-mutability

Pretty sure that’s been mentioned a few times in the main thread.

Or you can do the scorched-earth policy of re-imaging your SD card with the FA-provided piaware image if you want something that’s absolutely pristine.

I’ve asked for help before… and all I got back was…

never mind.

Thank you.

Wow. My words for you wouldn’t be appropriate for this forum. OBJ gives away free software and you demand free support. When you don’t get the FREE support like the way you want, you whine and complain.
He has a strong history of helping any reasonable person.

All of this requires at least some base knowledge. Despite that, I’ve asked stupid questions and he was still helpful.

TJO: OK will do the following:

1: Format SD card
2. Install NOOBS
3. Install RASPBIAN
4. Do update
5. Install dump1090-mutability
6 Do update
7. Install Piaware
8. Do update

Question: when I install Piaware, is it devoid of dump1090?

Thanks Joe K4AA

I agree with tjowen. Start with a standard install. Update everything, then install the packages per OBJ’s threads which contain step-by-step instructions.

If you start with the FA image, you have to undo some stuff they did beforehand.

You can install Raspbian directly.

Raspbian: Set up the repository and signing key:
wget [github.com/mutability/mutabilit ... _armhf.deb](https://github.com/mutability/mutability-repo/releases/download/v0.1.0/mutability-repo_0.1.0_armhf.deb) sudo dpkg -i mutability-repo_0.1.0_armhf.deb

Both: Install and upgrade packages via apt-get:
sudo apt-get update && sudo apt-get install dump1090-mutability sudo dpkg-reconfigure dump1090-mutability (for detailed configuration)
$ sudo apt-get install lighttpd && sudo lighty-enable-mod dump1090 (if you want to use the external webserver integration) <— YES YOU DO! DON’T USE INTERNAL!

Then follow https://flightaware.com/adsb/piaware/install starting at step 2.

Piaware is separate from dump1090.

…snip question already answered.

When stepping through the Dump1090-mutability reconfigure remember the following unless this no longer applies to the new piaware…

Important: You must configure NET_BIND_ADDRESS="", or equivalently enter a blank answer to the “Interface address to bind to?” configuration question, to avoid a bug in piaware that will make piaware think that there is no dump1090 running.

From posting: http://discussions.flightaware.com/ads-b-flight-tracking-f21/raspbian-ubuntu-packages-for-dump1090-mutability-available-t19619-275.html

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.

Thank you mgunther, your instructions worked perfectly for me.

This is fixed in current piaware so you no longer need that workaround.

“apt-get remove dump1090-mutability” will do the trick.

Your notes look good to me - that’s basically how I do my builds while developing.