Linux
Distribution Packages Status Some distributions already have Unknown-Horizons in official or unofficial repositories. This includes:
- Arch Linux — Arch User Repository (AUR) has both a
unknown-horizons
package and aunknown-horizons-git
package. - Gentoo Linux — the
gamerlay
overlay has agames-strategy/unknown-horizons
package. - Ubuntu Linux — The universe repository has a
unknown-horizons
package.
Unknown Horizons depends on the Fife game engine, and the Fifechan gui library. When installing unknown horizons from source you usually need to install these from source too.
Guide for installing fife and fifechan from source could be found here:
For dependencies please look here: Dependencies
-
Fifechan:
git clone https://github.com/fifengine/fifechan.git cd fifechan mkdir _build cd _build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make sudo make install
-
Fifengine:
git clone https://github.com/fifengine/fifengine.git cd fifengine mkdir _build cd _build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DPYTHON_EXECUTABLE=/usr/bin/python3 .. make sudo make install
If you get problems with cegui missing, you should add the
-Dcegui=OFF
flag to cmake. The cmake line would then be:cmake -Dcegui=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
See Installing-PyEnet. Only necessary for multiplayer.
- First step get git version:
git clone git://github.com/unknown-horizons/unknown-horizons.git
- Second step build the translations:
cd unknown-horizons && ./setup.py build_i18n
- Third step create a default settings file
mkdir ~/.config/unknown-horizons/ && cp content/settings-template.xml ~/.config/unknown-horizons/settings.xml
- Now you can run Unknown-Horizons with:
./run_uh.py