Table of Contents

Information

Prerequisites

Notes

Dependencies

sudo eopkg install git gcc glibc-devel binutils make g++ kernel-libc-devel sdl2-devel zlib-devel libjpeg-turbo-devel libx11-devel

Download Initial Source

sudo git clone -b 'master' 'git://git.xonotic.org/xonotic/xonotic.git' '/usr/share/xonotic' && sync

Install

Download Complete Source

cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' update -l 'best' && sync

Compile

cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync

Update

cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' clean --reclone && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync

Desktop Launcher

Initial

mkdir -p ~/'.local/share/applications/Xonotic'

Xonotic

nano ~/'.local/share/applications/Xonotic/Xonotic.desktop'
[Desktop Entry]
Name=Xonotic
Categories=Game;
Exec='/usr/share/xonotic/all' run 'sdl'
Type=Application
StartupNotify=true
Path=/usr/share/xonotic
Icon=XGM6_Xonotic.0

Icon

mkdir -p ~/'.local/share/icons/hicolor/512x512/apps' && cp '/usr/share/xonotic/misc/logos/icons_png/xonotic_512.png' ~/'.local/share/icons/hicolor/512x512/apps/XGM6_Xonotic.0.png'