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

12.04gamessoftware installationurban-terror

I am new to Ubuntu. Please tell me how to install the latest version of Urban Terror. Step by step answer would be great.

Best Answer

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.

Related Question