From 27bf1bbb526b32437c8d1ec058cc3259bdaaf92d Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: Fri, 17 Feb 2023 02:48:55 -0300
Subject: [PATCH] Fix some dependencies

---
 .../oai_gNB_and_UE_install.sh                     | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh b/openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh
index 1d4470692..50b3641f4 100755
--- a/openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh
+++ b/openairinterface5g/openairinterface-install-scripts/oai_gNB_and_UE_install.sh
@@ -2,18 +2,6 @@
 
 sudo apt-get update
 
-## Install dependencies 
-# sudo apt-get install -y autotools-dev
-sudo apt-get install -y automake 					    # Required for run 'swig/autogen.sh'
-sudo apt-get install -y g++ make libpcre2-dev byacc     # Required for swig install
-sudo apt-get install -y cmake python3-dev libsctp-dev 	# Required for flexric install
-# sudo apt-get install -y libpcre2-dev
-# sudo apt-get install -y pcre2-utils
-# sudo apt-get install -y bison
-# sudo apt-get install -y byacc
-# sudo apt-get install -y g++ 
-# sudo apt-get install -y libsctp-dev python3.8 libpcre2-dev python3-dev 
-
 ## Repository OAI dependencies
 sudo add-apt-repository ppa:ettusresearch/uhd -y
 sudo apt-get update -y
@@ -21,8 +9,9 @@ sudo apt-get update -y
 ## OAI dependencies
 ## Testar com a libuhd4.4.0 ao invés de libuhd4.2.0u
 sudo apt-get install libuhd-dev uhd-host -y
-sudo apt-get install libuhd4.2.0 -y					# Required for OpenAirInterface install
+sudo apt-get install libuhd4.2.0 libuhd4.4.0 y					# Required for OpenAirInterface install
 sudo dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb
+sudo dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.4.0_4.4.0.0-0ubuntu1~focal1_amd64.deb
 
 # Work directory path is the current directory
 WORK_DIR=$HOME
-- 
GitLab