mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-04-28 03:19:27 +00:00
Fixing preinstall tool depending on Ubuntu version
This commit is contained in:
parent
aff4e97367
commit
d1f486f9ea
1 changed files with 4 additions and 3 deletions
|
|
@ -7,14 +7,15 @@
|
|||
##########################################################
|
||||
|
||||
# Installing compilation dependencies
|
||||
sudo apt install -y autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev git dpkg-dev debhelper libssl-dev cmake build-essential wget libzmq3-dev cppzmq-dev
|
||||
sudo apt install -y bc autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev git dpkg-dev debhelper libssl-dev cmake build-essential wget
|
||||
|
||||
# Installing HD driver 4.1.0 (Ubuntu 22.04) or 4.6* (Ubuntu 24.04) & t ols from Ubuntu package manager
|
||||
ubuntu_version=$(lsb_release -rs)
|
||||
if (( $(echo "$ubuntu_version < 24.04" | bc -l) )); then
|
||||
sudo apt install -y libuhd4.1.0
|
||||
sudo apt install -y libuhd4.1.0 libzmq3-dev
|
||||
else
|
||||
sudo apt install -y libuhd4.6.0t64 cppzmq-dev
|
||||
fi
|
||||
sudo apt install -y libuhd4.6.0t64
|
||||
|
||||
sudo apt install -y libuhd-dev uhd-host
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue