Add installation support for opensuse tumbleweed

This commit is contained in:
DMLhope
2023-09-19 18:02:56 +08:00
parent 341baecebb
commit 914000e870

View File

@@ -44,6 +44,11 @@ function linux_install_deps {
$1 apt-get install -y build-essential pkg-config bison flex autoconf \
automake libtool make git \
sqlite3 cmake curl python3 python3-venv libmodbus-dev
#Installing dependencies for opensuse tumbleweed
elif [ -x /usr/bin/zypper ]; then
$1 zypper ref
$1 zypper in -y curl make automake gcc gcc-c++ kernel-devel pkg-config bison flex autoconf libtool openssl-devel cmake libmodbus-devel
$1 zypper in -y python python2-pip python-xml python3 python3-pip
else
fail "Unsupported linux distro."
fi