Skip to content
Snippets Groups Projects
Commit c6b5545d authored by Matheus Fagundes's avatar Matheus Fagundes
Browse files

Upload gNB install script

parent e7883092
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
## Install dependencies
sudo apt-get update -y
sudo apt-get install git -y
sudo apt-get install libuhd4.2.0 -y
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb
## Install OAI gNB
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git ~/oai
cd ~/oai
git checkout 2022.41
git am ~/flexric/multiRAT/oai/oai.patch --whitespace=nowarn
source oaienv
cd cmake_targets
sudo ./build_oai -I -w USRP -i
sudo ./build_oai --gNB -c -C -w USRP --ninja
sudo ./build_oai --gNB -c -C -w SIMU --ninja
~
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment