Install Techdemo 1 on Linux

This article describes how to download and setup up the stable Techdemo 1 release on Linux-based systems.

Install Prerequisites

 * 1) Install the latest release of the Python 2.6.x or 2.7.x branch. Python versions earlier than 2.6 and Py3k will NOT work. On most distros Python 2.6 should be the norm. To check which version of Python is running on your system open up a console and type:
 * 2) Install the PyYAML library. Instructions for installing PyYAML in linux can be found on the PyYAML wiki. Just download the sources, extract them and run as root:   If you are using a debian based system you can grab it from your repositories with the following command:   Alternatively, the easy_setup.py script can be used to automatically install PyYAML:

Build FIFE

 * 1) Install the dependencies listed here: http://wiki.fifengine.de/Build_dependencies
 * 2) Download the FIFE source package from https://sourceforge.net/projects/parpg/files/techdemo1/fife_r3236_src.tar.gz/download and unpack the archive to a location of your choice (called  from now on)
 * 3) CD into  and run:
 * 4) You can optionally install FIFE using the command   If you choose not to install FIFE, you may have to manually configure PARPG to find your FIFE build (see below)

Download PARPG

 * 1) Download the PARPG source package from https://sourceforge.net/projects/parpg/files/techdemo1/parpg_td1_r522_src.tar.gz/download and unpack the archive to a location of your choice (called  from now on);
 * 2) If you chose not to install FIFE in a standard location, you may need to configure PARPG to find the FIFE binaries. To do this, create a blank config.py text file in /game/ and put the following lines in it:   where  is the location where you built FIFE.

PARPG is written completely in Python, so there is no need to build the sources.

Run PARPG
Run  replacing  with the location where you unpacked the PARPG source package.