summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install_scripts/krakensdr_x86_install_doa_pr.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/install_scripts/krakensdr_x86_install_doa_pr.sh b/install_scripts/krakensdr_x86_install_doa_pr.sh
new file mode 100644
index 0000000..471fbcf
--- /dev/null
+++ b/install_scripts/krakensdr_x86_install_doa_pr.sh
@@ -0,0 +1,35 @@
+sudo apt update
+sudo apt install build-essential git cmake libusb-1.0-0-dev lsof libzmq3-dev
+
+git clone https://github.com/krakenrf/librtlsdr
+cd librtlsdr
+mkdir build
+cd build
+cmake ../ -DINSTALL_UDEV_RULES=ON
+make
+sudo make install
+sudo ldconfig
+
+echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf
+
+
+sudo apt-get install clang
+
+git clone https://github.com/krakenrf/kfr
+cd kfr
+mkdir build
+cd build
+cmake -DENABLE_CAPI_BUILD=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release ..
+make
+
+sudo cp ~/kfr/build/lib/* /usr/local/lib
+sudo mkdir /usr/include/kfr
+sudo cp ~/kfr/include/kfr/capi.h /usr/include/kfr
+sudo ldconfig
+
+cd
+wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
+chmod ug+x Miniforge3-Linux-x86_64.sh
+./Miniforge3-Linux-x86_64.sh
+
+