Browse Source

adding install steps 1 and 2.

master
Charles Reid 5 years ago
commit
685442b1e0
  1. 61
      install_step1.sh
  2. 23
      install_step2.sh

61
install_step1.sh

@ -0,0 +1,61 @@
#!/bin/sh
#
# pastebin.com/eKbm118F
#
# This installs prereqs and builds rtl-sdr.
# You will need to reboot at the end.
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ INSTALLING STUFF ~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
apt-get install -y \
libboost-all-dev \
libusb-1.0 \
libusb-dev \
libusb-1.0-0-dev \
cmake \
portaudio19-dev
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ INSTALLING EVEN MORE STUFF ~~~~~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
apt-get install -y \
tcl8.5-dev \
tclx8.4-dev \
itcl3-dev \
tcl-tls \
tcllib \
tcl-tclreadline \
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ INSTALLING RTL-SDR STUFF ~~~~~~~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
git clone git://git.osmocom.org/rtl-sdr.git /root/codes/rtl-sdr
cd /root/codes/rtl-sdr
mkdir build
cd build
cmake ../
make
make install
cd /root
cp /root/codes/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/.
ldconfig
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ DISABLING DVB DRIVER. NO TV HERE BRO ~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
mkdir -p /etc/modprobe.d/
cd /etc/modprobe.d/
echo "blacklist dvb_usb_rtl28xxu" >> /etc/modprobe.d/ban-rtl.conf
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ OKAY NOW PLUG IN THE RECEIVER BRO ~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ WHEN U R DONE THEN RESTART ~~~~~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

23
install_step2.sh

@ -0,0 +1,23 @@
#!/bin/sh
#
# pastebin.com/eKbm118F
#
# This installs dump1090_mr.
# The last step should show some flight info.
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ INSTALLING DUMP1090_MR ~~~~~~~~~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
DUMP1090_PATH="/root/codes/dump1090"
git clone https://www.github.com/flightaware/dump1090 ${DUMP1090_PATH}
cd ${DUMP1090_PATH}
make BLADERF=no
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ OK BRO HERE GOES ~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~ HOPE U SEE SOME PLANE STUFF RN ~~~~~~~~"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
${DUMP1090_PATH}/dump1090 --interactive
Loading…
Cancel
Save