summaryrefslogtreecommitdiffstats
path: root/install_scripts
diff options
context:
space:
mode:
authorkrakenrf <78108016+krakenrf@users.noreply.github.com>2022-10-03 12:39:29 +0200
committerGitHub <noreply@github.com>2022-10-03 12:39:29 +0200
commit830046964acd2ee85ba9e58fd91035b24570e8ed (patch)
tree1fe296b5875955c69fe5a69b963c9c635256d421 /install_scripts
parentUpdate krakensdr_x86_install_doa_pr_local.sh (diff)
downloadkrakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar.gz
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar.bz2
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar.lz
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar.xz
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.tar.zst
krakensdr_docs-830046964acd2ee85ba9e58fd91035b24570e8ed.zip
Diffstat (limited to 'install_scripts')
-rw-r--r--install_scripts/krakensdr_x86_install_doa_pr.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/install_scripts/krakensdr_x86_install_doa_pr.sh b/install_scripts/krakensdr_x86_install_doa_pr.sh
index 87c7009..1442b61 100644
--- a/install_scripts/krakensdr_x86_install_doa_pr.sh
+++ b/install_scripts/krakensdr_x86_install_doa_pr.sh
@@ -2,18 +2,14 @@
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
+sudo cp rtl-sdr.rules /etc/udev/rules.d/rtl-sdr.rules
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
-sudo make install
-sudo ldconfig
+sudo ln -s ~/librtlsdr/build/src/rtl_test /usr/local/bin/kraken_test
echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf
@@ -55,8 +51,12 @@ cd krakensdr_doa
git clone https://github.com/krakenrf/heimdall_daq_fw
cd heimdall_daq_fw
+git checkout install_script_test
cd ~/krakensdr_doa/heimdall_daq_fw/Firmware/_daq_core/
+cp ~/librtlsdr/build/src/librtlsdr.a .
+cp ~/librtlsdr/include/rtl-sdr.h .
+cp ~/librtlsdr/include/rtl-sdr_export.h .
make
conda install -y pandas
@@ -73,6 +73,9 @@ pip3 install pyargus
conda install -y dash==1.20.0
conda install -y werkzeug==2.0.2
+conda install -y "blas=*=mkl"
+conda install -y -c numba icc_rt
+
cd
cd ~/krakensdr_doa