A few relatively easy steps are required to get the very latest version of Warzone 2100 and run it under Xenial Xerus:
1. Activate the Source Repositories:
Follow this path to activate software sources:
Dash > Software & Updates > Ubuntu Software > Source Code
After clicking on 'Source Code' allow the repositories to reload.
2. Download the dependencies:
We use both the dependencies for the older Warzone 2100 package as well as some extras required by the newer version:
sudo apt-get build-dep warzone2100
sudo apt-get install checkinstall qt5-default qtscript5-dev libsdl2-dev libssl-dev
3. Download, compile, package and install:
The following single command will look after the rest of the installation, simply copy and paste the whole command into a Terminal window:
mkdir ~/Desktop/warzone_build && cd ~/Desktop/warzone_build && \
3.2.1/warzone2100-3.2.1.tar.xz && \
tar xvf warzone2100-3.2.1.tar.xz && cd warzone2100-3.2.1 && \
./configure && make -j 4 && \
sudo checkinstall --pakdir "$HOME/Desktop/warzone_build" \
--backup=no --deldoc=yes --pkgname warzone2100 --pkgversion 3.2.1 \
--fstrans=no --deldesc=yes --delspec=yes --default
You may need to log out and then log back in before Dash sees the game but otherwise we are done :).
Unless of course you want some intro and 'cut-scene' movies for the game:
3. Optional: Install the movies:
There are some nice, high quality movies to download that integrate nicely with the game. Note that the high quality set is a reasonable download at 965MB.
First create the download folder if it does not already exist:
Then grab the high quality compressed movie files with the following single command:
cd ~/.warzone2100-3.2.1 && \
And now we are really done!
4. Enjoy the game:
A screenshot of Warzone 2100 on my own Xenial installation: