Installation on Linux

From VCMI Project Wiki
Revision as of 13:37, 23 February 2012 by Ivan (talk | contribs) (Created page with links to .deb packages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Warning: these packages are not yet tested. Use them with caution.

Installation from packages

Install original game and WoG addon in this directory

/usr/share/vcmi/

This should give you such directory structure

/usr/share/vcmi/Data
/usr/share/vcmi/Mp3
/usr/share/vcmi/Maps
...

Install VCMI data package in the same directory.


Download and install package for your distributive. To install package along with all dependencies:

sudo dpkg -i downloaded_package.deb
sudo apt-get -f install

To start the game:

vcmiclient

Packages

Other Debian-based distibutives

VCMI requires g++-4.5 and boost-1.46 which are unavailable on Debian stable and Ubuntu 10.10 or lower. If you'll manage to install them you can compile VCMI from source code.

Another (and probably more safe) option is to create chroot enviroment (how-to). This will allow to install package from another distributive.

Other Linux distibutives

Currently VCMI supports generation of .deb packages only. Patches to add support of other package formats are welcomed.

Compiling from source

For compiling from source see README.linux file. You can get packaged source here

Bugs

Report any issues with packages on our bugtracker or post a message on VCMI forums