summaryrefslogtreecommitdiffstats
path: root/install_scripts/krakensdr_x86_install_doa_pr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install_scripts/krakensdr_x86_install_doa_pr.sh')
-rw-r--r--install_scripts/krakensdr_x86_install_doa_pr.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install_scripts/krakensdr_x86_install_doa_pr.sh b/install_scripts/krakensdr_x86_install_doa_pr.sh
index fc5742d..87c7009 100644
--- a/install_scripts/krakensdr_x86_install_doa_pr.sh
+++ b/install_scripts/krakensdr_x86_install_doa_pr.sh
@@ -2,6 +2,10 @@
sudo apt update
sudo apt -y install build-essential git cmake libusb-1.0-0-dev lsof libzmq3-dev clang php-cli nodejs gpsd libfftw3-3 libfftw3-dev
+# Remove any old librtlsdr installs (NOTE: this could break other RTL-SDR programs if they were relying on a specific driver branch)
+sudo apt purge librtlsdr*
+sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr*
+
git clone https://github.com/krakenrf/librtlsdr
cd librtlsdr
mkdir build