-
Notifications
You must be signed in to change notification settings - Fork 19
Building readsb from source
wiedehopf edited this page Mar 23, 2020
·
47 revisions
sudo apt update
sudo apt install -y git build-essential debhelper libusb-1.0-0-dev
sudo apt install -y librtlsdr-dev librtlsdr0 pkg-config dh-systemd
sudo apt install -y libncurses5-dev lighttpd
cd
rm -rf readsb
git clone --depth 1 https://github.com/Mictronics/readsb.git -b dev
cd readsb
sed -i -e 's/, libblade.*//' debian/control
rm ../readsb_*.deb
dpkg-buildpackage -b --build-profiles=rtlsdr --no-sign
sudo dpkg -i ../readsb_*.deb
wget -O /tmp/rtl-sdr.rules https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/osmocom-rtl-sdr.rules
sudo cp /tmp/rtl-sdr.rules /etc/udev/rules.d/
sudo reboot
webinterface: http://192.168.XX.YY/radar
In your browser, use the IP address of your Pi and add /radar at the end to view the webinterface.
Only use this if you really know what you're doing and need this branch for some reason.
cd
rm -rf readsb
git clone --depth 1 https://github.com/wiedehopf/readsb.git -b dev
cd readsb
sed -i -e 's/, libblade.*//' debian/control
rm ../readsb_*.deb
dpkg-buildpackage -b --build-profiles=rtlsdr --no-sign
sudo dpkg -i ../readsb_*.deb
cd
rm -rf readsb
git clone --depth 1 https://github.com/Mictronics/readsb.git -b dev
cd readsb
sed -i -e 's/, libblade.*//' debian/control
rm ../readsb_*.deb
dpkg-buildpackage -b --build-profiles=rtlsdr --no-sign
sudo dpkg -i ../readsb_*.deb
sudo systemctl disable --now readsb
wget -O /home/pi/adsbexchange-dump1090_maint.sh https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/adsbexchange-dump1090_maint.sh
chmod 755 /home/pi/adsbexchange-dump1090_maint.sh
sudo reboot