Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Fedora based distributions

Tested on Fedora Server 25 Server and 26 (Fedora Workstation 25 Workstation and 26 should also work).

Bloque de código
languagebash
dnf install git cmake make gcc gcc-c++ mariadb-devel openssl-devel bzip2-devel readline-devel ncurses-devel boost-devel mariadb-server p7zip


Info

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.


Expandir
titleRed Hat based distributions (NOT RECOMMENDED)

Red Hat based distributions

Bloque de código
languagebash
yum install epel-release
yum install git cmake3 make clang mariadb-devel openssl-devel bzip2-devel readline-devel ncurses-devel
ln -s /usr/bin/cmake3 /usr/bin/cmake

yum install libquadmath-devel python-devel
curl -L https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz -o boost_1_64_0.tar.gz
tar -zxvf boost_1_64_0.tar.gz
cd boost_1_64_0
./bootstrap.sh
./b2 install

yum install mariadb-server p7zip 

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.

Bloque de código
languagebash
curl https://cmake.org/files/v3.6/cmake-3.6.1.tar.gz -o cmake-3.6.1.tar.gz
tar -zxvf cmake-3.6.1.tar.gz
cd cmake-3.6.1
./bootstrap
make
make install


...