summaryrefslogtreecommitdiffstats
path: root/install_scripts
diff options
context:
space:
mode:
authorrtlsdrblog <rtlsdrblog@gmail.com>2022-08-23 09:57:35 +0200
committerrtlsdrblog <rtlsdrblog@gmail.com>2022-08-23 09:57:35 +0200
commit3a1103c377aab415e6723b554bcb75f2679c025e (patch)
treee6285fb2b22720b06118ac613f3d4434c9d15cfa /install_scripts
parentUpdate README.md (diff)
downloadkrakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar.gz
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar.bz2
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar.lz
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar.xz
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.tar.zst
krakensdr_docs-3a1103c377aab415e6723b554bcb75f2679c025e.zip
Diffstat (limited to 'install_scripts')
-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
+
+