Free and Open Source real time strategy game with a new take on micro-management

Difference between revisions of "Download and Install"

From Globulation2

Jump to: navigation, search
(Latest Release: etch amd64)
Line 2: Line 2:


If you have installed the game but still have problems running it or if you cannot compile the source distribution, try to look at [[Frequently Asked Questions]] page, where a section is related to installation problems.
If you have installed the game but still have problems running it or if you cannot compile the source distribution, try to look at [[Frequently Asked Questions]] page, where a section is related to installation problems.
<!-- ===Unofficial Release: CVS===
<!-- ===Unofficial Release: Mercurial===
For those of you wanting to test out the latest version of globulation without compiling the source code yourself an updated windows binary can be downloaded [http://mysite.verizon.net/donkyhotay here]. Be aware this is a development version and may not be as stable as the official release so it is recommended that you backup your original glob2.exe file before using it. -->
For those of you wanting to test out the latest version of globulation without compiling the source code yourself an updated windows binary can be downloaded [http://mysite.verizon.net/donkyhotay here]. Be aware this is a development version and may not be as stable as the official release so it is recommended that you backup your original glob2.exe file before using it. -->


Line 76: Line 76:
== Compile from Sources ==
== Compile from Sources ==


For source and CVS installations, you'll also need to install these packages:
For source and Mercurial installations, you'll also need to install these packages:
* [http://www.libsdl.org/index.php SDL 1.2] download SDL-devel and SDL
* [http://www.libsdl.org/index.php SDL 1.2] download SDL-devel and SDL
* [http://www.libsdl.org/projects/SDL_net/ SDL_net 1.2] download SDL_net-devel
* [http://www.libsdl.org/projects/SDL_net/ SDL_net 1.2] download SDL_net-devel
Line 101: Line 101:
** Run the game by typing ''glob2''. If it doesn't work, type ''/path/to/install/bin/glob2'' instead.
** Run the game by typing ''glob2''. If it doesn't work, type ''/path/to/install/bin/glob2'' instead.


=== Sources from [[CVS]] ===
=== Sources from [[Mercurial]] ===
{{Warning|Warning|CVS is often unstable and will break, it is meant for testing purposes.}}
{{Warning|Warning|Mercurial is often unstable and will break, it is meant for testing purposes.}}
==== Compilation & cross compilation for Windows with mingw ====
==== Compilation & cross compilation for Windows with mingw ====
:* [[Mingw compilation|Compile glob2 with mingw]] - explains how to compile globulation2 on windows using mingw.
:* [[Mingw compilation|Compile glob2 with mingw]] - explains how to compile globulation2 on windows using mingw.
Line 108: Line 108:


==== Compilation on other systems ====
==== Compilation on other systems ====
* Download the source code from the cvs by typing
* Download the source code from the Mercurial by typing
:hg clone http://hg.globulation2.org/glob2/
:export CVS_RSH="ssh" && cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/glob2 co glob2
:* You can update the source code you have any time with a simple
:* You can update the source code you have any time with a simple
::hg pull && hg update
::cvs up
* Read the README.Mercurial and README files.
:* You can set the environment variable with a command in the style of
* Get the graphics by running the ''./syncdata'' script in the Mercurial tree.
::export CVSROOT=anonymous@cvs.savannah.nongnu.org:/cvsroot/glob2 co glob2
* Read the README.cvs and README files.
* Get the graphics by running the ''./syncdata'' script in the cvs tree.
* You can also get some maps by running the ''./syncmaps'' script.
* You can also get some maps by running the ''./syncmaps'' script.
* Run the ''./bootstrap'' script from the cvs tree. If it doesn't work, check that SDL is installed in aclocal's path. If it is not the case (with Mac OS X, for example), run ''aclocal -I /usr/local/share/aclocal'', where /usr/local/share/aclocal is the location of SDL's aclocal macros. Then, run the remaining commands of the ''bootstrap'' script (''autoheader && automake --add-missing && autoconf'').
* Run the ''./bootstrap'' script from the Mercurial tree. If it doesn't work, check that SDL is installed in aclocal's path. If it is not the case (with Mac OS X, for example), run ''aclocal -I /usr/local/share/aclocal'', where /usr/local/share/aclocal is the location of SDL's aclocal macros. Then, run the remaining commands of the ''bootstrap'' script (''autoheader && automake --add-missing && autoconf'').
* Continue by following the instructions in installing from a [[#Compile_from_Sources|''source distribution'']].
* Continue by following the instructions in installing from a [[#Compile_from_Sources|''source distribution'']].



Revision as of 00:55, 22 April 2007

English | Français | Deutsch | Español | Italiano | Česky | Română | Русский | Català | Suomi | Japanese | Русский | Chinese

If you have installed the game but still have problems running it or if you cannot compile the source distribution, try to look at Frequently Asked Questions page, where a section is related to installation problems.

Latest Release


We are waiting on updated versions of the following packages:

  • Ubuntu Dapper and Debian testing AMD64 : glob2_0.8.21-1_amd64.deb it would be better to have Debian Sarge AMD64 instead, as it should work on others deb based systems) --Nct 02:49, 19 April 2007 (EDT)


You can still download the Older Releases. They can sometimes be useful if you want a binary for a system that has not been packaged yet for latest release. Please keep in mind that Internet game will most likely not work with older releases. (See What version should i choose to play in the FAQ.)

Installation by Operating System and Distribution:

Debian GNU/Linux

  • Please download the latest .deb package from the download section above, and install it as you would install any ordinary debian package:
    • In root (or sudo), install it with dpkg -i glob2_VERSION.deb.
    • If you miss some dependencies, do an apt-get -f install as root (or sudo). Do NOT remove the glob2 package before apt-get -f install.
  • You can now run Globulation 2 by typing glob2.
  • If you are using Debian unstable, you can also use the integrate glob2 package but it is not as up to date.

Ubuntu Linux

  • Please download the latest .deb package from the download section above, and install it as you would install any ordinary package:
    • Install it with sudo dpkg -i glob2_VERSION.deb. You need to enter your user password.
    • If you miss some dependencies, do a sudo apt-get -f install. Do NOT remove the glob2 package before apt-get -f install.
  • You can now run Globulation 2 by typing glob2.
  • If you are using Ubuntu Breezy or newer, you can also use the integrated glob2 package but it is not as up to date.

Fedora Core

  • There are some Fedora packages (.rpm) under the download section above
  • You may find some other fedora packages on this fan-site

Gentoo GNU/Linux

  • An ebuild exists, and is in portage. To install, just execute (as root): emerge glob2
  • Make sure you are in the games group

Source Mage GNU/Linux

  • A spell exists. Make sure that games grimoire is up to date, and execute (as root): cast globulation2

Mandriva Linux

  • Please download the latest rpm package from the download section above, and install it as you would install any other rpm:
    • Double click it to start the installation. When prompted, enter your root password. It will do the rest.
    • When it says installation is complete, click "Ok". Go to the menu and click "Run Command".
    • When the command box pops up, type "glob2" and it should load automatically.

Microsoft Windows

  • Download the latest runtime package and unzip it anywhere.
  • Open the folder glob2_runtime and double click glob2.exe
to uninstall, just remove the directory "glob2_runtime" where you extracted the .zip.

Mac OS X

  • Mount the disk image file, and start the installer from it.
  • Globulation gets installed in /Applications/Globulation2.
  • To run the game, open /Applications/Globulation2/Globulation2.

FreeBSD

  • A port exists and binary packages are built for different platforms.
  • See FreeBSD port.

Compile from Sources

For source and Mercurial installations, you'll also need to install these packages:

Optional:

Source Distribution

Warning: You must make sure that you have all of the libraries that glob2 requires installed first. Also, read the README and INSTALL files in the archive for more information
  • Get the source distribution archive from the download section above.
  • Extract the archive using a compression/extraction utility such as tar.
  • Go in the extracted archive. If you have a Unix system (Linux, Solaris, Mac OS X):
    • Run the ./configure script. If you want to install the game in a special place, type ./configure --prefix=/path/to/install instead.
    • Compile Globulation 2 by running make.
    • Install with a simple make install command.
    • Run the game by typing glob2. If it doesn't work, type /path/to/install/bin/glob2 instead.

Sources from Mercurial

Warning: Mercurial is often unstable and will break, it is meant for testing purposes.

Compilation & cross compilation for Windows with mingw

Compilation on other systems

  • Download the source code from the Mercurial by typing
hg clone http://hg.globulation2.org/glob2/
  • You can update the source code you have any time with a simple
hg pull && hg update
  • Read the README.Mercurial and README files.
  • Get the graphics by running the ./syncdata script in the Mercurial tree.
  • You can also get some maps by running the ./syncmaps script.
  • Run the ./bootstrap script from the Mercurial tree. If it doesn't work, check that SDL is installed in aclocal's path. If it is not the case (with Mac OS X, for example), run aclocal -I /usr/local/share/aclocal, where /usr/local/share/aclocal is the location of SDL's aclocal macros. Then, run the remaining commands of the bootstrap script (autoheader && automake --add-missing && autoconf).
  • Continue by following the instructions in installing from a source distribution.
Misc