*this might or might not work for you
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt install libbladerf-dev librtlsdr-dev libncurses5-dev devscripts git cmake build-essential libusb-1.0-0-dev pkg-config debhelper tcl8.6-dev autoconf python3-dev python3-venv dh-systemd zlib1g-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
sudo cp ../rtl-sdr.rules /etc/udev/rules.d/
cd /etc/modprobe.d
sudo nano blacklist-rtl.conf
Add the following
blacklist dvb_usb_rtl28xxu
Save file and reboot the server
Run the following to check if the sdr is detected
rtl_test -t
git clone https://github.com/flightaware/piaware_builder
cd piaware_builder
./sensible-build.sh xenial
cd package-xenial
dpkg-buildpackage -b
*ignore "dpkg-buildpackage: error: failed to sign .buildinfo file"
cd ..
sudo dpkg -i piaware_3.7.2~ubuntu1604+1_amd64.deb ## this is version at the time of compiling
sudo apt-get install -f
cd ~
git clone https://github.com/flightaware/dump1090.git
cd dump1090
nano debian/rules
Set
BLADERF=no
Add
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
Save
dpkg-buildpackage -b
*ignore "dpkg-buildpackage: error: failed to sign .buildinfo file"
cd ..
sudo dpkg -i dump1090-fa_3.7.2_amd64.deb ## this is version at the time of compiling
sudo apt-get install -f