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

Installing Sapphire on Linux

This document expects you to have a development environment for Linux setup.

  1. Setup
  2. Download
  3. Build
  4. Configure

Setup

You will need to install build and runtime dependencies before compiling, please see below for your specific distribution.

CentOS/RHEL/Fedora

If you don't already have a development environment setup, run the following:

yum groupinstall -y development

Install development headers and tools:

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

After installing all dependencies, you can proceed to download, build, and configure.

Debian/Ubuntu

If you don't already have a development environment setup, run the following:

apt install -y build-essential

Install development headers and tools:

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

After installing all dependencies, you can proceed to download, build, and configure.

Archlinux

If you don't already have a development environment setup, run the following:

pacman -Sy --needed base-devel

Install development headers and tools:

pacman -Sy boost-libs cmake git libmariadbclient

After installing all dependencies, you can proceed to download, build, and configure.

Download

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

Build

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