Created
April 5, 2021 21:49
-
-
Save shortword/1525a349f23a9be95f32d6f09418b35e to your computer and use it in GitHub Desktop.
rtlsdr end-to-end script
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
#!/usr/bin/env bash | |
sudo apt update | |
sudo apt install -y build-essential cmake git libusb-1.0-0-dev | |
mkdir -p $HOME/local/src | |
cd $HOME/local/src | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cd rtl-sdr/ | |
mkdir build | |
cd build | |
# PLEASE NOTE that with the flag below, devices will be available to non-root users! | |
cmake ../ -DINSTALL_UDEV_RULES=ON | |
# The next command includes '-j`nproc`' which will help utilize all of the cores on your device (AKA faster build) | |
make -j`nproc` | |
sudo make install | |
sudo ldconfig | |
echo "blacklist dvb_usb_rtl28xxu" | sudo tee /etc/modprobe.d/blacklist-rtlsdr.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment