mxwcore-wotlk/apps/installer/includes/os_configs/debian.sh

19 lines
702 B
Bash
Raw Normal View History

2023-11-07 05:04:30 -05:00
if ! command -v lsb_release &>/dev/null ; then
sudo apt-get install -y lsb-release
fi
DEBIAN_VERSION=$(lsb_release -sr)
sudo apt-get update -y
sudo apt-get install -y gdbserver gdb unzip curl \
libncurses-dev libreadline-dev clang g++ \
gcc git cmake make ccache
if [[ $DEBIAN_VERSION -eq "10" ]]; then
sudo apt-get install -y default-libmysqlclient-dev libssl-dev libreadline-dev libncurses-dev mariadb-server
libboost-system1.6*-dev libboost-filesystem1.6*-dev libboost-program-options1.6*-dev libboost-iostreams1.6*-dev \
else # Debian 8 and 9 should work using this
sudo apt-get install -y libmysqlclient-dev libssl1.0-dev mysql-server
fi