Running from Source
Before running Trosnoth from the source distribution, you will need to install the following dependencies:
- Python, version 3.6 or newer
- Pygame, version 1.7 or newer
- Twisted, version 10 or newer
- under Windows, you will also need win32api
Under Debian or Ubuntu, you can install these dependencies by typing:
sudo apt-get install python3 python3-pygame python3-twisted
Under Fedora, CentOS or RHEL, type:
sudo yum install python3 python3-pygame python3-twisted
If these instructions don't work for your favourite OS, follow the links above to download and install the libraries.
Getting the Source
You can download the latest released source distribution from trosnoth.org. To install the game, simply unzip the game, navigate to the unzipped game, and type:
python setup.py install
After this, you should be able to run the game from a shell window by typing "
trosnoth". If you want desktop / menu shortcuts, you'll have to set them up yourself.
Running a Trosnoth Server
After you've downloaded and installed Trosnoth from source, you can run a Trosnoth server by typing "
trosnoth-server". The server has a few additional dependencies, including Django (Trosnoth 1.9 requires Django 1.8).
See Trosnoth on PyPI for old source distributions.