-
-
Save dome2048/bb8c0f413c6efcb669c3754e23e6237d to your computer and use it in GitHub Desktop.
Install FlightAware and FlightRadar24 on a Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
sudo apt-get update | |
sudo apt-get -y install dirmngr | |
# Add the package for FlightAware | |
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.6.3_all.deb | |
sudo dpkg -i piaware-repository_3.6.3_all.deb | |
# Add the server for FlightRadar24 | |
gpg --keyserver pool.sks-keyservers.net --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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment