game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
Installation Guide

This guide covers all installation methods for Game Launcher on Linux.

Table of Contents


System Requirements

Minimum Requirements

Component Minimum
OS Any Linux distribution with glibc 2.35+
CPU x86_64 (64-bit)
RAM 512 MB
Disk 100 MB (application) + space for games
GPU Any GPU with OpenGL 2.0+

Required Libraries

Library Purpose
Qt 6.8 LTS or newer UI framework
Qt6 LinguistTools Translation scaffolding (build-time only)
SQLite 3 Game database
OpenSSL HTTPS for API calls
libcurl HTTP downloads
nlohmann-json JSON parsing

Optional Build-Time Dependencies

Library Feature it enables
Qt6 WebEngineWidgets Embedded Home Assistant dashboard panel
qtermwidget6 Embedded terminal panel

If either optional component is missing at configure time, CMake prints a status message and the corresponding feature is compiled out. The main executable still builds.

Qt 6.8 is the Long-Term Support release published in October 2024 with upstream support through October 2029 (see the Qt Releases page). This is the minimum supported version.


Arch Linux / CachyOS (Recommended)

The easiest installation method on Arch-based systems is using the included PKGBUILD.

Using the PKGBUILD

# Clone the repository
git clone https://gitlab.com/lee.ellington/game_launcher.git
cd game_launcher
# Build and install the package
makepkg -si

makepkg -si will:

  1. Download all required dependencies via pacman
  2. Compile the application with optimized settings
  3. Install it system-wide to /usr/bin/gamelauncher
  4. Install desktop file and icons for application menu integration

Installing Dependencies Manually

If you want to install dependencies separately first:

sudo pacman -S qt6-base qt6-webengine sqlite openssl libglvnd hicolor-icon-theme util-linux-libs

Verifying Installation

After installation, the launcher should appear in your application menu under "Games". You can also launch it from the terminal:

gamelauncher

Building from Source

Prerequisites

Install the required build tools and libraries:

Arch Linux / CachyOS:

sudo pacman -S cmake ninja gcc qt6-base qt6-webengine qt6-tools sqlite openssl curl nlohmann-json util-linux-libs

Ubuntu 24.04+ / Debian 13+:

Qt 6.8 is not in the default Ubuntu 24.04 or Debian 13 repositories. Install it from the official Qt online installer or a third-party PPA, then point CMAKE_PREFIX_PATH at the Qt install root:

sudo apt install \
cmake ninja-build gcc g++ \
libsqlite3-dev libssl-dev libcurl4-openssl-dev \
nlohmann-json3-dev
# Example: Qt installed under /opt/Qt/6.8.0/gcc_64
export CMAKE_PREFIX_PATH=/opt/Qt/6.8.0/gcc_64

Fedora 40+:

sudo dnf install \
cmake ninja-build gcc gcc-c++ \
qt6-qtbase-devel qt6-qtwebengine-devel qt6-qttools-devel \
sqlite-devel openssl-devel libcurl-devel \
json-devel

Verify the Qt version is 6.8 or newer:

qmake6 -query QT_VERSION

Clone and Build

git clone https://gitlab.com/lee.ellington/game_launcher.git
cd game_launcher

Debug Build (for development)

cmake --preset qt-debug
cmake --build --preset qt-debug
# Run the debug build
./out/build/qt-debug/gamelauncher_qt_debug

Release Build (for daily use)

cmake --preset qt-release
cmake --build --preset qt-release
# Run the release build
./out/build/qt-release/gamelauncher_qt

Available CMake Presets

Preset Generator Build Type Notes
qt-debug Ninja Debug Full symbols, no optimisation
qt-release Ninja Release Optimised, suitable for daily use
qt-debug-make Unix Makefiles Debug Use when Ninja is unavailable
qt-release-make Unix Makefiles Release Use when Ninja is unavailable
win-qt-debug Ninja Debug Windows build via vcpkg (experimental)
win-qt-release Ninja Release Windows build via vcpkg (experimental)

The Windows presets read their dependencies from vcpkg.json and require the VCPKG_ROOT environment variable to point at a vcpkg checkout. See the vcpkg manifest mode documentation for details.

Manual CMake Configuration

If you need custom build options:

cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_QT_UI=ON \
-DENABLE_PCH=ON
cmake --build build --parallel

CMake Build Options

Option Default Description
BUILD_QT_UI ON Build the Qt 6 frontend executable
BUILD_CORE_ONLY OFF Build only gamelauncher_core (no UI, no Qt required)
ENABLE_PCH ON Precompiled headers for faster builds
ENABLE_ASAN OFF Build with AddressSanitizer (debugging only, disables PCH)
ENABLE_UBSAN OFF Build with UndefinedBehaviorSanitizer
BUILD_TESTS OFF Build the GoogleTest suite under tests/
CMAKE_INSTALL_PREFIX /usr/local Installation prefix

Security Hardening

Release builds automatically enable the standard Linux hardening flags: -fstack-protector-strong, -D_FORTIFY_SOURCE=3, -Wl,-z,relro,-z,now, and -Wl,-z,noexecstack. See the Debian hardening guide for background. _FORTIFY_SOURCE=3 requires glibc 2.34+ and GCC 12+, which Qt 6.8 already implies.

Installing the Built Binary

# Install to system (requires root)
sudo cmake --install build
# Or install to a custom location
cmake --install build --prefix ~/.local

System-Wide Installation via CMake Target (Arch/CachyOS only)

cmake --build out/build/qt-release --target install_app

Note: The install_app target wraps makepkg -si and therefore only works on Arch-based distributions that ship makepkg and pacman. On other distributions, use sudo cmake --install out/build/qt-release or the distribution-specific packages generated by CPack.

Package Generation (DEB / RPM / TGZ)

cd out/build/qt-release
cpack
# Packages are generated in packages/
ls packages/

Post-Installation Setup

After installing, Game Launcher will create the following directories on first run:

Directory Purpose
~/.local/share/gamelauncher/ Database, settings, game data
~/.cache/gamelauncher/ Cached cover art and images

First-Run Wizard

On first launch, a setup wizard will guide you through:

  1. Steam Library Detection — Automatically finds your Steam library folders
  2. Default Runner Selection — Choose your preferred compatibility layer
  3. Optional Features — Enable MangoHud, GameMode, and other tools

See the Getting Started guide for a detailed walkthrough.


Optional Dependencies

These packages are not required but enable additional features:

Package Feature
steam Steam game import, Proton management
umu-launcher Run Proton games outside Steam
wine Windows compatibility layer for non-Proton games
gamemode CPU governor optimization while gaming
mangohud FPS overlay and performance monitoring
lib32-mangohud 32-bit game MangoHud support
gamescope Wayland compositor for resolution scaling and HDR
vkbasalt Vulkan post-processing effects
qtermwidget Embedded terminal panel in the launcher

Installing all optional dependencies on Arch:

sudo pacman -S steam umu-launcher wine gamemode mangohud lib32-mangohud gamescope vkbasalt
yay -S qtermwidget # Available in AUR

Uninstallation

If Installed via PKGBUILD

sudo pacman -Rns gamelauncher

If Installed via CMake

sudo cmake --build build --target uninstall
# Or manually:
sudo rm /usr/bin/gamelauncher
sudo rm /usr/share/applications/gamelauncher.desktop
sudo rm /usr/share/icons/hicolor/*/apps/gamelauncher.png

Removing User Data

To completely remove all user data (game database, settings, cached images):

rm -rf ~/.local/share/gamelauncher/
rm -rf ~/.cache/gamelauncher/

Warning: This permanently deletes your game library database and all settings. Back up ~/.local/share/gamelauncher/ if you want to preserve your configuration.