Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Added Arch Linux support.

...

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 gcc-c++ 
ln -s /usr/bin/cmake3 /usr/bin/cmake
yum install centos-release-scl
yum install devtoolset-6-gcc-c++
scl enable devtoolset-6 bash
gcc --version | head -1

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. 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.

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


Arch Linux based distributions (NOT OFFICIALLY 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 Discord or through email. Discord: Techwizz#5489, email: paulrblack.prb@gmail.com

FOLLOW AT YOUR OWN RISK!

Bloque de código
languagebash
pacman -S git clang cmake make gcc openssl bzip2 readline ncurses boost p7zip rpcsvc-proto
mkdir ~/mysql-tmp
cd ~/mysql-tmp
wget https://aur.archlinux.org/cgit/aur.git/snapshot/mysql57.tar.gz # Note if this no longer exists go here and download the snapshot https://aur.archlinux.org/packages/mysql57/
tar -xf mysql57.tar.gz
makepkg # After that finishes install libmysqlclient57-5.7.29-1-x86_64.pkg.tar.xz, mysql-clients57-5.7.29-1-x86_64.pkg.tar.xz, and mysql57-5.7.29-1-x86_64.pkg.tar.xz
cd ~
rm -rf ./mysql-tmp

Insertar extracto
_Installation Helper
_Installation Helper
nopaneltrue

...