Skip to content

Instantly share code, notes, and snippets.

@arhea
Created December 16, 2019 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arhea/f5a267b9b7242fcce887759f325a260b to your computer and use it in GitHub Desktop.
Save arhea/f5a267b9b7242fcce887759f325a260b to your computer and use it in GitHub Desktop.
Install Piaware on Raspberry Pi Running Ubuntu
#!/bin/bash
# create directory
mkdir -p /usr/src
cd /usr/src
# update the os
apt-get update -y && apt-get upgrade -y
# install dependencies
apt-get install build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev
# clone the repo and build
git clone https://github.com/flightaware/dump1090.git
cd ./dump1090
dpkg-buildpackage -b
cd ../
# build piaware
git clone https://github.com/flightaware/piaware_builder.git
cd ./piaware_builder
./sensible-build.sh bionic
cd ./package_builder
dpkg-buildpackage -b
#!/bin/bash
# create directory
mkdir -p /usr/src
cd /usr/src
# update the os
apt-get update -y && apt-get upgrade -y
# install dependencies
apt-get install build-essential debhelper tcl8.6-dev autoconf python3-dev python3-venv dh-systemd libz-dev
# build piaware
git clone https://github.com/flightaware/piaware_builder.git
cd ./piaware_builder
./sensible-build.sh bionic
cd ./package_builder
dpkg-buildpackage -b
#!/bin/bash
# create directory
mkdir -p /usr/src
cd /usr/src
# update the os
apt-get update -y && apt-get upgrade -y
# install dependencies
apt-get install git git-core cmake libusb-1.0-0-dev build-essential
# install rtl-sdr dependencies
git clone git://git.osmocom.org/rtl-sdr.git
cd ./rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
make install
ldconfig
cp rtl-sdr.rules /etc/udev/rules.d
# configure the drivers
echo "blacklist dvb_usb_rtl28xxu" > /tmp/no-rtl.conf
echo "blacklist rtl2832" >> /tmp/no-rtl.conf
echo "blacklist rtl2830" >> /tmp/no-rtl.conf
mv /tmp/no-rtl.conf /etc/modprobe.d/
# reboot
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment