Installation on Linux

From VCMI Project Wiki
Revision as of 20:43, 1 March 2012 by Ivan (talk | contribs) (Updated links for 0.88)
Jump to: navigation, search

Installation from packages

Install original game and WoG addon in this directory

/usr/share/vcmi/

This should give you directory structure like this:

/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

Note: First command most probably will result in errors - this is normal behavior, all of them should be fixed by apt-get

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 any 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