Skip to content

Instantly share code, notes, and snippets.

@FabienLavocat
Last active November 5, 2023 03:05
Show Gist options
  • Save FabienLavocat/c6f4b2572aa2da0ba6cda7332e728f71 to your computer and use it in GitHub Desktop.
Save FabienLavocat/c6f4b2572aa2da0ba6cda7332e728f71 to your computer and use it in GitHub Desktop.
Install FlightAware and FlightRadar24 on a Raspberry Pi
#!/bin/bash -e
sudo apt-get update
sudo apt-get -y install dirmngr
# Add the package for FlightAware
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_5.0_all.deb
sudo dpkg -i piaware-repository_5.0_all.deb
# Add the server for FlightRadar24
gpg --keyserver keyserver.ubuntu.com --recv-keys 40C430F5
gpg --armor --export 40C430F5 | sudo apt-key add -
sudo sh -c 'echo "deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable" >> /etc/apt/sources.list'
# Install Required Packages
sudo apt-get update
sudo apt-get -y install piaware dump1090-fa fr24feed
# Upgrade the system
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
# FlightAware
# This will enable automatic and manual (web-based, via your request) PiAware software updates.
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
### Flight Radar 24
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
fr24feed --signup
@FabienLavocat
Copy link
Author

@dome2048 I updated to the latest piaware version 5.0
@ggeorgiev2001 Thanks, I updated the URL

@spinko101
Copy link

Thanks for this script, both FA and FR24 are working within less then 15 minutes :-).

It is necessary to finish the configuration of PiAware by entering the feeder ID by typing the following in the console

sudo piaware-config feeder-id your-feeder-id-here

I noticed that MLAT is not active on the FL24 installation. Is there a way to activate it ?

@FabienLavocat
Copy link
Author

@spinko101 for MLAT you will need to provide your coordinates when setting up your account with the command sudo fr24feed --signup

@spinko101
Copy link

spinko101 commented Jul 20, 2021 via email

@Flums
Copy link

Flums commented Jan 12, 2022

I am getting trouble when installing both, due to fighting about the dump-connection. I use a fr24-raspberry-image, maybe I should use clean raspberry?

@FabienLavocat
Copy link
Author

@Flums I haven't touched that script in ages, maybe the installation bits have changed. Try to go over the steps one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment