Skip to content

Instantly share code, notes, and snippets.

@rcguy
Last active August 29, 2015 14:25
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 rcguy/624960e5cba07d390b0a to your computer and use it in GitHub Desktop.
Save rcguy/624960e5cba07d390b0a to your computer and use it in GitHub Desktop.
compile rtl-sdr for the raspberrypi
#!/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