Ubuntu Installation

From Armagetron

Debian users

All of the instructions below should also just work fine for Debian systems. When you have to select your "Ubuntu Version", pick something reasonably old. Here's a list of them, with release dates.

Quick and Lazy: use binaries from our PPA

Preparing your System

Our Personal Packet Archive is here. Instructions how to activate it are there, too, but since this section is for the lazy, here's what you need to do:

First, you need to edit /etc/apt/sources.list and add the lines

deb http://ppa.launchpad.net/armagetronad-dev/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src http://ppa.launchpad.net/armagetronad-dev/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main

YOUR_UBUNTU_VERSION_HERE is the short codename of your Ubuntu version, for example hoary, jaunty or karmic. Then, to avoid warnings about unknown signatures, you need to enter into a command line shell

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 98E6A0F3
sudo apt-get update

You only have to do the above steps once, you just may need to update the Ubuntu version whenever you upgrade your system (though I think that's handled automatically).

Installing the Stable Version

Is simple! To get the latest stable client, just enter the command

sudo apt-get install armagetronad

or, for the server,

sudo apt-get install armagetronad-dedicated

In the console. Your favourite package installation GUI should now also show our the armagetronad(-dedicated) packages. Your standard system update mechanism ("sudo apt-get update; sudo apt-get upgrade" for console freaks) will inform you when a new version is available. As soon as Ubuntu picks up our latest stable version into your distribution, the official Ubuntu build will replace our build.

Currently supported Ubuntu versions: Hardy Heron (8.04) and up.

Current Armagetronad version: 0.2.8.3

Future: at some point, we'll switch to 0.4 for the latest stable version; we'll have to leave older Ubuntu versions behind, then, they'll be stuck with 0.2.X. Those versions will still receive any bugfix updates we release, of course.

Other Versions

Other versions are distinguished by their package name. We have none yet in there, though.

Building from Source

Seen on forums written by ed:

grab some dependancies, make sure universe repos are enabled in your sources.list

For older Ubuntu Versions (<9.04)

Older versions don't have the versions of bzr available that are needed to fetch our current sources, so you need to point them to where they can get a good version. Add these lines to your /etc/apt/sources.list

deb http://ppa.launchpad.net/bzr/ubuntu hardy main
deb-src http://ppa.launchpad.net/bzr/ubuntu hardy main

then

sudo apt-get update

Get Dependencies

grab some dependancies, make sure universe repos are enabled in your sources.list

sudo apt-get install bzr  build-essential automake libboost-dev libxml2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev ftgl-dev libglew-dev bison pkg-config autoconf autotools-dev libprotobuf-dev

Checkout the latest 0.3 build from bazaar..

bzr co lp:armagetronad 
cd armagetronad

then compile...

./bootstrap.sh 
./configure
make 
sudo make install