linux_安装要求
这是本文档旧的修订版!
Linux 安装要求
安装指南 | |
本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。 | |
<< Start: 安装指南 | Step 2: 核心安装 >> |
MySQL ≥ 5.7.0 |
Boost ≥ 1.74 |
OpenSSL ≥ 3.0.x |
CMake ≥ 3.16 |
Clang ≥ 10 |
Ubuntu with MariaDB 10.x
AzerothCore does only support MariaDB versions 10.6 and 10.5.
sudo apt update && sudo apt full-upgrade -y && sudo apt install git cmake make gcc g++ clang libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mariadb-server mariadb-client libmariadb-dev libmariadb-dev-compat
Ubuntu with MySQL 8.x
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev
Remember that if you are using the root user, it is not necessary to use sudo .
Note: If you get the error cannot find -lstdc++ you need to install g++-12 and it's dependencies.
To configure MySQL in Ubuntu 18.04 and similar (set root password and other settings) read this guide.
Note: in older versions of Ubuntu like 18.04 you need to install gcc-10 and libboost1.74-dev :
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo add-apt-repository -y ppa:mhier/libboost-latest sudo apt-get update sudo apt install -y gcc-10 g++-10 sudo apt install -y install libboost1.74-dev
linux_安装要求.1695474998.txt.gz · 最后更改: 2023/09/23 21:16 由 admin