Last active
August 29, 2015 14:25
-
-
Save rcguy/624960e5cba07d390b0a to your computer and use it in GitHub Desktop.
compile rtl-sdr for the raspberrypi
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 | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf | |
sudo apt-get install git-core git cmake libusb-1.0-0-dev build-essential -y | |
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 | |
cd ~ | |
sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/ | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment