How to install latest version of Urban Terror on Ubuntu 12.04?

Solution 1:

The standard solution is to add getdeb games repository and install the games from there. The problem is that the original getdeb repositories are bit unreliable as they often go down. Therefore better option is to add getdeb repository mirror that has all the same stuff and is more reliable. The downside is that updates come with slight delay but I would not worry about that.

Easy way to add repository is by opening Software center and Edit-> Software sources -> Other software -> Add (or something like that :) In the case of getdeb mirror enter this line (you can remove "apps" if you don't want to get also software from there):

deb http://mirrors.dotsrc.org/getdeb/ubuntu precise-getdeb apps games

If you are also interested in the source code then you can also add this the same way:

deb-src http://mirrors.dotsrc.org/getdeb/ubuntu precise-getdeb apps games

If after adding repositories close Software center, open Terminal and enter (you can copy this - in terminal copy/paste can only be done with mouse) this:

sudo apt-get update

At this point you would also need to enter your password. If that doesn't produce any errors (as it shouldn't) you just managed add new software sources to your Ubuntu.

You can now install Urban Terror by opening Software center and searching for it. Alternative is to continue in the terminal:

sudo apt-get install urbanterror

After some waiting you can start shooting.


UPDATE: If somebody is reading this to learn how to install the game on any other version than 12.04 (Precise) then replace the "precise" in the repository line with your version of Ubuntu. For example: deb http://mirrors.dotsrc.org/getdeb/ubuntu saucy-getdeb apps games

The same thing from command line:

$ sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu saucy-getdeb games" >> /etc/apt/sources.list.d/getdeb.list'

The original answer also did not include information about adding the repository key. This can be done from command line with:

$ wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

Or one could download the repository key file and import it at the "Authentication" tab of "Software and updates" window.

Solution 2:

Download the Game installer/updater for Linux. I assume you downloaded the file UrbanTerror42.tar.gz and saved it in the Downloads folder.

  1. Open a terminal Ctrl+Alt+T and change into Downloads folder: cd Downloads/

  2. Extract the archive: tar -xvf UrbanTerror42.tar.gz

  3. Change into UrbanTerror directory: cd UrbanTerror42/

  4. Start the UrTUpdater GUI:

    • for 32 bit systems: ./UrTUpdater.i386

    • for 64 bit systems: ./UrTUpdater.x86_64

  5. Accept the license agreement.

    license agreement

  6. Click the Download button to download the neccessary files.

    download files

  7. Wait.

    wait / downloading

  8. Play.

    click play button