Version 5 (modified by 14 years ago) ( diff ) | ,
---|
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!
The Linux packages are new and not well-tested, so please report any problems.
Ubuntu 10.04, 10.10
Install from our PPA:
(The version for AMD64 on Lucid is currently building, so if you get any errors on that platform please wait 10-20 minutes and try again. You can check the page linked to above to see when it's finished.)
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."
Alternatively, you can install 0ad
from PlayDeb.net (see their setup instructions).
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.
Debian 5.0
sudo sh -e'echo "deb http://download.opensuse.org/repositories/games/Debian_5.0/ /" >/etc/apt/sources.list.d/obs-games.list' sudo apt-get update sudo apt-get install 0ad
It should prompt "Install these packages without verification?" - these packages are not checked or trusted by Debian. You should not install them in security-critical environments. If you understand and accept the danger of installing unknown software, answer "y".
Run the game from the command-line as
0ad
or from the application menu item "0 A.D."
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_11.3/
http://download.opensuse.org/repositories/games/openSUSE_11.2/
http://download.opensuse.org/repositories/games/openSUSE_11.1/
- 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."
Fedora, Mandriva
First run:
su -
Then run one of the following commands:
curl http://download.opensuse.org/repositories/games/Fedora_13/games.repo >/etc/yum.repos.d/obs-games.repo
curl http://download.opensuse.org/repositories/games/Fedora_12/games.repo >/etc/yum.repos.d/obs-games.repo
curl http://download.opensuse.org/repositories/games/Mandriva_2010.1/games.repo >/etc/yum.repos.d/obs-games.repo
curl http://download.opensuse.org/repositories/games/Mandriva_2010/games.repo >/etc/yum.repos.d/obs-games.repo
curl http://download.opensuse.org/repositories/games/Mandriva_2009.1/games.repo >/etc/yum.repos.d/obs-games.repo
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."
Unstable version: Fedora: You can try a more up-to-date but less-well-tested version from a Fedora People repository.
Gentoo
See bug containing ebuilds (both latest release and latest SVN).
Arch
See releases and latest SVN packages.
Pardus GNU/Linux
For Pardus 2009,
- Add P2009-free repository by executing following command:
pisi ar P2009-free http://paketler.pardus-linux.org/P2009-free/pisi-index.xml.bz2 -y
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/P2009-free
Compiling on Linux
You need two files:
- 0ad-unix-build.tar.xz (3 MB) or 0ad-unix-build.tar.gz (5 MB)
- 0ad-unix-data.tar.xz (134 MB) or 0ad-unix-data.tar.gz (136 MB)
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-r08413-alpha-unix-build.tar.xz tar xvJf 0ad-r08413-alpha-unix-data.tar.xz # Or, if your tar is older than 1.22: xz -cd 0ad-r08413-alpha-unix-build.tar.xz | tar xv xz -cd 0ad-r08413-alpha-unix-data.tar.xz | tar xv # Or, if you downloaded the .gz version: tar xvzf 0ad-r08413-alpha-unix-build.tar.gz tar xvzf 0ad-r08413-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.