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. Avoid LTS versions since we usually update requirements to the lastest stable Debian version. Mixing stable with experimental packages may break your linux OS.
Debian 9.0
apt-get install git cmake make gcc g++ libmariadbclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip |
Tested for Debian 8.8.0 and Ubuntu 16.04.
apt-get install git cmake make gcc g++ libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip |
Not supported: Debian 7, Ubuntu 14.04. |
Tested on Fedora Server 25 and 26 (Fedora Workstation 25 and 26 should also work).
dnf install git cmake make gcc gcc-c++ mariadb-devel openssl-devel bzip2-devel readline-devel ncurses-devel boost-devel mariadb-server p7zip |
Fedora 26 ships with OpenSSL 1.1.x which can't be used for building TrinityCore. Luckilly, OpenSSL 1.0.x branch is shipped in the package named 'compat-openssl10-devel'. To install it, issue command 'dnf install --allowerasing compat-openssl10-devel'. Note that this will remove already installed openssl-devel package. |
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. 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.
|
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. |