wiki:LatestReleaseLinux
Last modified 4 months ago Last modified on 2013-12-25 21:51:27

How to install the latest version on Linux

Warning: The game is currently under heavy development, and many features are currently missing. This release is an alpha version, not a completed playable game - please check our site and forums for future updates!

Warning: there are known graphics problems when running 0 A.D. with old graphics drivers. If you notice a graphic issue, before reporting a ticket in our issue tracker, make sure you are using updated drivers. With open source driver (all Intel and Radeon up to HD 4870 only support open source drivers on recent distributions) this means using a recent release of Mesa and, eventually, the Linux kernel. You can do this upgrading your Linux distribution to the latest release or/and using a third party archive with updated drivers (e.g. a PPA, Personal Package Archive, on Ubuntu). You can find more informations for your Linux flavor in the sections below.

The Linux packages are new and not well-tested, so please report any problems in our Bug reports forum here.

Arch

0 A.D. is available in the community repository. A SVN package is in the AUR.

Chakra

It's available in games repository. See Chakra wiki for additional information.

Debian

0 A.D. is available in Debian's repositories since Debian 7.0 Wheezy.

Install the package (requires root privileges):

apt-get install 0ad

Run the game from the command-line as

0ad

or from the application menu item "0 A.D."

Fedora

0 A.D. is available in the official Fedora repositories starting with F16. Install the packages by running:

sudo yum install 0ad

Run the game from the command-line as

0ad

or from the application menu item "0 A.D."

Foresight

Install 0 A.D by executing following command:

sudo conary install 0ad=gameway.rpath.org@fl:2

Frugalware

0 A.D. is the the repositories, install the package:

repoman upd
repoman merge 0ad

Gentoo

See bug containing ebuilds (both latest release and latest SVN).

OpenSUSE

  • Launch YaST.
  • Select "Software" and "Software Repositories".
  • Select "Add" and "Specify URL..."
  • Enter one of the following URLs, with name "obs-games":
    • http://download.opensuse.org/repositories/games/openSUSE_Factory/
    • http://download.opensuse.org/repositories/games/openSUSE_12.3/
    • http://download.opensuse.org/repositories/games/openSUSE_12.2/
  • It should prompt "Import Untrusted GnuPG Key" - these packages are not checked or trusted by OpenSUSE. You should not install them in security-critical environments. If you understand and accept the danger of installing unknown software, accept the import.
  • Run "Install/Remove Software"
  • Select "0ad" to install.

Run the game from the command-line as

0ad

or from the application menu item "0 A.D."

Pisi

0 A.D. can be installed from the package manager, or by typing in the terminal:

sudo pisi it 0ad

ROSA

  • Select "Software" and "Software Repositories".
  • Select "Games" - "Strategy"
  • Select "0ad" to install.

Run the game from the command-line as

0ad

or from the application menu item "0 A.D."

Sabayon

Install 0 A.D. package using this command:

equo install 0ad

Slackware

0ad and 0ad-data SlackBuilds are available for Slackware 14 users. The easiest way to install them is probably using Sbopkg:

su
sbopkg -i 0ad-data
sbopkg -i 0ad

Run the game from the command-line as

0ad

Alternatively, you can build the SlackBuilds manually as described in the HOWTO.

Ubuntu

Warning: if you are experiencing a graphic issue first read the warning on top of this page. To solve the issue you can update to latest Ubuntu version or/and, if you are using open source drivers, use the Updated and Optimized Open Graphics Drivers PPA.

Ubuntu provided packages

0 A.D. is available in Ubuntu's universe repository since Ubuntu 12.04 LTS (Precise Pangolin). Install the packages by running:

sudo apt-get install 0ad

Updated releases are available in Ubuntu Backports repository.

0 A.D. provided packages

Alternatively, 0 A.D. packages are available from 0 A.D. PPA:

sudo add-apt-repository ppa:wfg/0ad
sudo apt-get update
sudo apt-get install 0ad

(If you get errors about unmet dependencies, check that you have the Universe repository enabled in /etc/apt/sources.list.)

Unstable version: You can try a more up-to-date but less-well-tested version from our development snapshot PPA, which should be updated each week. Follow the instructions above but use the ppa:wfg/0ad.dev repository name.

How to run the game

Run the game from the command-line as:

0ad

or from the application menu item Games / 0 A.D.

Compiling on Linux

You need two files:

The .xz files are smaller but may require you to install XZ Utils.

Extract both files to the same location:

# Extract .xz version into the current directory:
tar xvJf 0ad-0.0.15-alpha-unix-build.tar.xz
tar xvJf 0ad-0.0.15-alpha-unix-data.tar.xz

# Or, if your tar is older than 1.22:
xz -cd 0ad-0.0.15-alpha-unix-build.tar.xz | tar xv
xz -cd 0ad-0.0.15-alpha-unix-data.tar.xz | tar xv

# Or, if you downloaded the .gz version:
tar xvzf 0ad-0.0.15-alpha-unix-build.tar.gz
tar xvzf 0ad-0.0.15-alpha-unix-data.tar.gz

Then follow the build instructions using the files from this release instead of downloading from SVN.

How to get info on new releases

There are several ways to be notified when a new release is out, as well as getting notified on other updates, either by subscribing to the email mail list, following 0 A.D. on Twitter or Facebook, or the RSS feed.