Difference between revisions of "Installation on Linux"

From VCMI Project Wiki
Jump to: navigation, search
(Created page with links to .deb packages)
 
Line 1: Line 1:
Warning: these packages are not yet tested. Use them with caution.
 
 
= Installation from packages =
 
= Installation from packages =
 
Install original game and WoG addon in this directory
 
Install original game and WoG addon in this directory
Line 5: Line 4:
 
/usr/share/vcmi/
 
/usr/share/vcmi/
 
</pre>
 
</pre>
This should give you such directory structure
+
This should give you directory structure like this:
 
<pre>
 
<pre>
 
/usr/share/vcmi/Data
 
/usr/share/vcmi/Data
Line 20: Line 19:
 
sudo apt-get -f install
 
sudo apt-get -f install
 
</pre>
 
</pre>
 +
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:
 
To start the game:
 
<pre>
 
<pre>
Line 27: Line 28:
 
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_oneiric_i386.deb Ubuntu 11.10 (oneiric) 32 bit]
 
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_oneiric_i386.deb Ubuntu 11.10 (oneiric) 32 bit]
 
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_oneiric_amd64.deb Ubuntu 11.10 (oneiric) 64 bit]
 
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_oneiric_amd64.deb Ubuntu 11.10 (oneiric) 64 bit]
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_sid_i386.deb Debian sid 32 bit]
+
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_sid_i386.deb Debian testing/sid 32 bit]
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_sid_amd64.deb Debian sid 64 bit]
+
* [http://dl.dropbox.com/u/22372764/vcmi/packages/vcmi_0.87-1_sid_amd64.deb Debian testing/sid 64 bit]
  
 
== Other Debian-based distibutives ==
 
== Other Debian-based distibutives ==

Revision as of 17:06, 23 February 2012

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