Installing ET:L on Ubuntu 12.04

You have two options:

1) Install a deb package

This debian package is currently unmaintained and we have made some changes which most probably broke it.
We provide only 32-bit package because of compatibility with W:ET 2.60b, but you can install it even on a 64-bit Ubuntu.

NOTE: 100zherBG pointed out that our nightly DEB packages have wrong version string and I wasted 5 hours finding out that OBS doesn’t create usable DEB packages from git repo because 'set_version’ only changes version in etlegacy.dsc and not debian.changelog from where the resulting DEB package gets its version string. So, if you want to update our DEB package you first have to refresh the repository. I renamed the package from etlegacy to etlegacy-git, so it won’t conflict with the final release.

Either directly download and install this deb package or add our repository to APT:

  1. Add the repo location to your /etc/apt/sources.list
    deb http://download.opensuse.org/repositories/home:/JanSimek/xUbuntu_12.04/ ./
    deb-src http://download.opensuse.org/repositories/home:/JanSimek/xUbuntu_12.04/ ./
    
  2. Download and add the public key
    wget download.opensuse.org/repositories/home:/JanSimek/xUbuntu_12.04/Release.key
    sudo apt-key add Release.key
    
  3. Install ET:L
    sudo apt-get update
    sudo apt-get install etlegacy-git
    
  4. Run it!
    etl

These deb packages are built directly from our git repository and so you can expect frequent updates.

2) Compile from source

This section only considers 32-bit Ubuntu. If you have 64bit system, then you’ll have to crosscompile ET:L, because only 32bit version is compatible with Wolfenstein: Enemy Territory 2.60b

Requirements

You’ll need git to download the source code, cmake to compile it, libsdl1.2-dev (SDL include files), mesa-common-dev (OpenGL include files) and optionally libcurl-dev which will install either libcurl4-gnutls-dev or libcurl4-openssl-dev depending on your choice.

Although installing libcurl is optional, it is highly recommended as you wouldn’t be able to download new maps and mods without it.

sudo apt-get install cmake git libsdl1.2-dev mesa-common-dev libcurl-dev 

h3. Compilation
  1. Download the source
cd ~
git clone git://github.com/etlegacy/etlegacy.git
cd etlegacy
# Compile it
either
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug .. && make

or
RELEASE_TYPE=Debug ./easybuild.sh
  1. You need to have W:ET 2.60b installed on your system or at least have some critical data files, ET:L will look for game datafiles in ~/.etwolf/etmain (pak0.pk3, pak1.pk3, pak2.pk3, mp_bin.pk3 are needed)
    mkdir -p ~/.etwolf/etmain
    cd ~/.etwolf/etmain
    wget http://www.gamestv.org/download/repository/et/etmain/pak{0..2}.pk3
    wget http://www.gamestv.org/download/repository/et/etmain/mp_bin.pk3
    

    then run
    ~/etlegacy/etl
    

Download the game datafiles

Because of legal reasons we cannot ship Wolfenstein data with our game, but you can download them legally and for free from the official Splash Damage website. You need pak0.pk3, pak1.pk3, pak2.pk3 and mp_bin.pk3 and these files must be placed either in ~/.etwolf/etmain or in the etmain directory located in the same directory from which etl was started.