= 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 '''[http://www.wildfiregames.com/0ad/ site]''' and '''[http://www.wildfiregames.com/forum/index.php?showforum=135 forums]''' for future updates! The Linux packages are new and not well-tested, so please report any problems in our [http://www.wildfiregames.com/forum/index.php?showforum=378 Bug reports forum here]. [[TOC(inline,noheading)]] == Arch == 0 A.D. is available in the [https://www.archlinux.org/packages/?sort=&q=0ad "community repository"]. A [http://aur.archlinux.org/packages.php?ID=28560 SVN package] is in the AUR. == Chakra == It's [http://chakra-project.org/packages/index.php?act=search&searchpattern=0ad available in games repository]. See [http://www.chakra-project.org/wiki/index.php/0_A.D. 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 == First run: {{{ su - }}} Then run one of the following commands: * If you're on Fedora 17, run: `curl http://download.opensuse.org/repositories/games/Fedora_17/games.repo >/etc/yum.repos.d/obs-games.repo` * If you're on Fedora 16, run: `curl http://download.opensuse.org/repositories/games/Fedora_16/games.repo >/etc/yum.repos.d/obs-games.repo` * Fedora 15 is no longer supported. Install the package: {{{ yum install 0ad }}} It should prompt "Importing GPG key 0xC862B42C ... Is this ok?" - these packages are not checked or trusted by !Fedora/Mandriva. You should not install them in security-critical environments. If you understand and accept the danger of installing unknown software, answer "y". Exit from the `su` shell: {{{ exit }}} 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 [http://bugs.gentoo.org/show_bug.cgi?id=278541 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_Tumbleweed/` * `http://download.opensuse.org/repositories/games/openSUSE_Factory/` * `http://download.opensuse.org/repositories/games/openSUSE_12.2/` * `http://download.opensuse.org/repositories/games/openSUSE_12.1/` * `http://download.opensuse.org/repositories/games/openSUSE_11.4/` * 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." == Pardus GNU/Linux == ''For Pardus 2011,'' * Add P2011 repository by executing following command: {{{ pisi ar P2011 http://paketler.pardus-linux.org/P2011/{arch}/pisi-index.xml.xz -y }}} Replace {arch} with i686 or x86_64 depending on your Pardus Architecture and install 0 A.D by executing following command: {{{ pisi it 0ad }}} * If you don't want to add a repository, you can download and install PiSi package from http://paketler.pardus-linux.org/P2011 == Sabayon == Install 0 A.D. [http://packages.sabayon.org/quicksearch?q=0ad&x=0&y=0 package] using this command: {{{ equo install 0ad }}} == Ubuntu == 0 A.D. is available in Ubuntu's "universe" repository since Ubuntu 12.04 LTS (Precise Pangolin). Install the package by running: {{{ sudo apt-get install 0ad }}} To obtain updated releases, install from our [https://launchpad.net/~wfg/+archive/0ad 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`.) Run the game from the command-line as {{{ 0ad }}} or from the application menu item "Games" / "0 A.D." '''Unstable version''': You can try a more up-to-date but less-well-tested version from our [https://launchpad.net/~wfg/+archive/0ad.dev development snapshot PPA], which should be updated each week. Follow the instructions above but use the `ppa:wfg/0ad.dev` repository name. == Compiling on Linux == You need two files: * [http://releases.wildfiregames.com/0ad-0.0.11-alpha-unix-build.tar.xz 0ad-unix-build.tar.xz] (8 MB) ''or'' [http://releases.wildfiregames.com/0ad-0.0.11-alpha-unix-build.tar.gz 0ad-unix-build.tar.gz] (10 MB) * [http://releases.wildfiregames.com/0ad-0.0.11-alpha-unix-data.tar.xz 0ad-unix-data.tar.xz] (335 MB) ''or'' [http://releases.wildfiregames.com/0ad-0.0.11-alpha-unix-data.tar.gz 0ad-unix-data.tar.gz] (420 MB) The `.xz` files are smaller but may require you to install [http://tukaani.org/xz/ XZ Utils]. Extract both files to the same location: {{{ # Extract .xz version into the current directory: tar xvJf 0ad-0.0.11-alpha-unix-build.tar.xz tar xvJf 0ad-0.0.11-alpha-unix-data.tar.xz # Or, if your tar is older than 1.22: xz -cd 0ad-0.0.11-alpha-unix-build.tar.xz | tar xv xz -cd 0ad-0.0.11-alpha-unix-data.tar.xz | tar xv # Or, if you downloaded the .gz version: tar xvzf 0ad-0.0.11-alpha-unix-build.tar.gz tar xvzf 0ad-0.0.11-alpha-unix-data.tar.gz }}} Then follow the '''[wiki:BuildInstructions#Linux 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 [http://feedburner.google.com/fb/a/mailverify?uri=0AdNews&loc=en_US email mail list], following [http://www.twitter.com/play0ad 0 A.D. on Twitter] or [http://www.facebook.com/play0ad Facebook], or the [http://feeds.feedburner.com/0AdNews RSS feed].