Install SVN trunk on Linux

From Post-Apocalyptic RPG wiki

Jump to: navigation, search

Download.png This article covers setup instructions!

Setup articles explain how to download and intall a stable or unstable version of PARPG on a specific platform.

This article describes how to download and setup up the unstable SVN trunk versions of PARPG 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:
    python --version
  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:
    python install
    If you are using a debian based system you can grab it from your repositories with the following command:
    sudo apt-get install python-yaml
    Alternatively, the script can be used to automatically install PyYAML:
    python pyyaml

Install Subversion

Install subversion, if it isn't already installed, either from your package manager or by downloading a binary package from;

Checkout and Build Latest FIFE From SVN

  1. CD into the directory where you want FIFE to reside and run:
    svn co FIFE
    This will checkout the latest FIFE revision and place it in a subdirectory under the current working directory;
  2. Install the dependencies listed here:;
  3. CD into <FIFE> and run:
    scons ext && scons
  4. You can optionally install FIFE to a standard location by running
    sudo scons install-python
    however this is not required and may not be desirable since you'll likely be updating FIFE often;

Checkout Latest PARPG from SVN

  1. Run
    svn co parpg
    to checkout the latest PARPG revision into a subdirectory under the current working directory;
  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, open the system.cfg file found in the game directory and add the following line to the bottom:
    FifePath = <FIFE>
    replacing <FIFE> with the location where you built FIFE.

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


cd <PARPG> && ./ .
replacing <PARPG> with the location where you checked out PARPG trunk into. Note the additional "." argument to this specifies the path to the system configuration file for PARPG. A default configuration file is included in the svn checkout, so this simply tells PARPG to use the default configuration. Note: later versions of PARPG may not use this syntax. Run
./ --help
for a help message with the latest syntax.
Personal tools