This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. |
Processor with SSE2 support |
Note: Low ram/swap amount: increase ram/swap to a minimum of 2GB of ram and 2GB of swap or decrease the amount of make -j to 1 (more concurrent compile threads = more memory usage). (you can get this using VPS servers) |
Recommendation: Use apt-get with stable source list instead of install packages. We recommend the latest stable version of your distribution. We usually update requirements to the lastest stable Debian version. Avoid mixing stable with experimental packages as it may break your linux OS.
Debian 10.x (you will need to use su to install the packages)
apt-get update apt-get install git clang cmake make gcc g++ libmariadbclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mariadb-server p7zip default-libmysqlclient-dev update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100 |
Ubuntu 19.10/20.04 (you will need to use sudo to install the packages).
apt-get update apt-get install git clang cmake make gcc g++ libmariadbclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mariadb-server p7zip libmariadb-client-lgpl-dev-compat update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100 |
Anything under this is not tested by TrinityCore developers. Not supported: Debian 9 or lower. Ubuntu 19.04 or lower. AVOID CentOS. If you have an old Ubuntu version, follow https://help.ubuntu.com/community/Upgrades steps to upgrade it. |
Tested on Fedora Server 27/28 (Fedora Workstation 27/28 should also work).
dnf install https://dev.mysql.com/get/mysql57-community-release-fc27-1.noarch.rpm dnf install git clang cmake make gcc gcc-c++ community-mysql-devel compat-openssl10-devel bzip2-devel readline-devel ncurses-devel boost-devel community-mysql-server p7zip rm -f /usr/bin/c++ update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100 |
Red Hat based distributions
Note: You will only have to compile the boost library one time, unless you update your kernel or update certain security packages. You will also need to update boost-devel. The developer libraries will conflict with the compiled version of boost on Red Hat distros. Also be sure to install boost-devel after compiling latest version of boost. Note: Some distribution versions might not match our requirements for CMake. If you can't install the EPEL repository on your build server, use the following instructions to install CMake manually.
|
Arch Linux based distributions (NOT SUPPORTED)Tested on 2/19/2020. If you run into any issues with the dependencies don't report it to the TrinityCore team, report it to me on through email at paulrblack.prb@gmail.com FOLLOW AT YOUR OWN RISK!
Or if you have yay installed, you can follow this instead
|
This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. |