Building Horizon Launcher on Linux - HorizonLauncher/Client GitHub Wiki
Watch our Linux Build Tutorial Video
Dependencies
These dependencies can vary depending on your distribution. Use your distribution's package manager to install these.
- CMake
- Boost
- Qt5:
- Qt5Widgets
- Qt5Core
- Qt5Gui
- Qt5Network
- Qt5WebKit
- Qt5WebKitWidgets
- Qt5Sql
- Qt5LinguistTools
- A C++ compiler with C++11 support (GCC 4.8 or higher, clang 3.1 or higher)
- Ninja (optional)
- Ninja is faster than GNU make but normal GNU make works fine.
- Horizon Launcher
- You can clone the repository using Git for easy updates, or if you just want a simple zip you can download one.
Process
- Open a terminal
- Use
cd
to set the current directory to the place you cloned the git repository. (eg.cd ~/dev/HorizonLauncher
) - Create a new
build
directory to keep your working directory clean and cd into it:
mkdir build && cd build
- Run CMake:
Using GNU Make:cmake ..
Using Ninja:cmake .. -G Ninja
- Build Horizon:
Using GNU Make:make -j$(expr $(nproc) + 1) -l$(nproc)
Using Ninja:ninja
- Run it:
./HorizonLauncher