-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInstall_srsLTE_LandoNet.sh
47 lines (39 loc) · 1.07 KB
/
Install_srsLTE_LandoNet.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
#Install srsLTE LandoNet
mkdir ~/tmp
#Install dependencies
sudo apt -y install build-essential cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev uhd-host libuhd003 libuhd-dev
#Install GCC-7 & G++-7
sudo apt -y install software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt -y install g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --config gcc
#Download, build and install Pistache
cd ~/tmp
git clone https://github.com/oktal/pistache.git
cd pistache
git submodule update --init
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../
make
sudo make install
sudo ldconfig
cd ~/
sudo rm -rf ~/tmp
#Download and build srsLTE
cd ~/
git clone https://gitlab.com/futebol/srsLTE_LandoNet.git
cd srsLTE_LandoNet
mkdir build
cd build
cmake ../
make
#Install srsLTE
sudo make install
sudo srslte_install_configs.sh service
sudo ldconfig
#List USRPs
sudo uhd_find_devices