Skip to content
Ay'yaruq Dotharl edited this page Nov 23, 2017 · 8 revisions

Installing Sapphire on Linux

This document expects you to have a development environment for Linux setup. If that's not the case, you can get the basics with one of the following.

CentOS/RHEL/Fedora

yum groupinstall -y development

Debian/Ubuntu

apt install -y build-essential

Archlinux

pacman -Sy --needed base-devel

Setup Dependencies

CentOS/RHEL/Fedora

yum install -y boost-devel cmake git libmysqlclient-devel zlib-devel

Debian/Ubuntu

apt install cmake git libboost-dev libmysqlclient-dev zlib1g-dev

Archlinux

pacman -Sy boost-libs cmake git libmariadbclient

Clone the Source

git clone --recursive https://github.com/SapphireMordred/Sapphire.git sapphire

Compile

mkdir build && cd build
cmake ..
make -j 4

Configure

The build will output the binaries into bin/ in the top level folder, along with a subdirectory for config files. You will need the game data files plus a running MySQL DB to point the binaries at. You can then run the servers as normal processes.

FFXIV Sapphire

Deprecated (4.0~5.58)

Getting Started
About
Installation

Installing
Linux
Mac
Windows

Developing
Actor Control
Scripting

Administration
Debug Commands
GM Commands

Other
PS4 Support

Clone this wiki locally