Linux Development
Sections: Installing the Game | Playing the Game | Competition Hub | Server Administration | Extending Armagetron Advanced | Development Docs
This guide assumes you're familiar with the linux console. All commands listed here are supposed to be entered there. For system andministration tasks, you have to be logged in as the superuser 'root'. (K)Ubuntu users need to prepend a 'sudo ' in front of all system administration commands.
Install Development Environment and Dependencies
The method differs from distribution to distribution. Required for all builds are:
* The compiler gcc/g++ and its libraries * Python * the library libxml2
For 0.2.8 client builds, you need development files for
* OpenGL * SDL * SDL_image * libpng
For trunk builds, you need
* boost
For trunk client builds, you'll also need
* SDL_mixer * freetype * ftgl * GLEW (optional right now)
(K/X)Ubuntu
To get all of this at once, enter at the console
sudo apt-get install g++ python libxml2-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libfreetype6-dev libftgl-dev libglew1.5-dev libpng-dev libboost-dev
Tested with Kubuntu 8.10.
Debian
Should be identical to Ubuntu, but without the sudo, and instead you need to be logged in as root.
Fedora/Red Hat
yum install SDL-devel SDL_image-devel SDL_mixer-devel freetype-devel ftgl-devel glew-devel python boost-devel
Yay for sane package names.
Gentoo
To get all of this at once (minus python and g++, which are installed by default), enter at the console
emerge libxml2 libsdl sdl-image sdl-mixer freetype ftgl glew libpng boost
Boost takes a long time to build, so you may want to omit it if you don't need it.