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
m (Latest Release)
Line 9: Line 9:
* <span id="downloadlink_windows">Windows {{Warning|uninstaller data loss warning|The Windows uninstaller will delete the whole folder you install glob2 to. So DON'T INSTALL GLOB2 INTO AN EXISTING FOLDER or put data into that folder you might miss after uninstalling glob2!! You've been warned! Download [http://download.savannah.nongnu.org/releases/glob2/0.9.1/glob2win32_beta1.exe glob2win32_beta1.exe].}}</span>
* <span id="downloadlink_windows">Windows {{Warning|uninstaller data loss warning|The Windows uninstaller will delete the whole folder you install glob2 to. So DON'T INSTALL GLOB2 INTO AN EXISTING FOLDER or put data into that folder you might miss after uninstalling glob2!! You've been warned! Download [http://download.savannah.nongnu.org/releases/glob2/0.9.1/glob2win32_beta1.exe glob2win32_beta1.exe].}}</span>
<!--* <span id="downloadlink_mandriva">Mandriva Linux: [http://download.savannah.nongnu.org/releases/glob2/0.8.23/globulation2-0.8.23-1mdv2007.0.i586.rpm globulation2-0.8.23-1mdv2007.0.i586.rpm] ([http://download.savannah.nongnu.org/releases/glob2/0.8.23/globulation2-0.8.23-1mdv2007.0.src.rpm source])</span>-->
<!--* <span id="downloadlink_mandriva">Mandriva Linux: [http://download.savannah.nongnu.org/releases/glob2/0.8.23/globulation2-0.8.23-1mdv2007.0.i586.rpm globulation2-0.8.23-1mdv2007.0.i586.rpm] ([http://download.savannah.nongnu.org/releases/glob2/0.8.23/globulation2-0.8.23-1mdv2007.0.src.rpm source])</span>-->
* Ubuntu Linux: http://www.getdeb.net/app.php?name=Globulation+2
* Ubuntu Linux and others using .deb-files: http://www.getdeb.net/app.php?name=Globulation+2
<!--this release is buggy: * Mac OS X: [http://download.savannah.nongnu.org/releases/glob2/0.9.1/Globulation-0.9.1.dmg Globulation-0.9.1.dmg] (Intel, 10.5 required)-->
<!--this release is buggy: * Mac OS X: [http://download.savannah.nongnu.org/releases/glob2/0.9.1/Globulation-0.9.1.dmg Globulation-0.9.1.dmg] (Intel, 10.5 required)-->
* [[Changes|View all changes in this release]]
* [[Changes|View all changes in this release]]
Line 28: Line 28:
Optional:
Optional:
* [http://fribidi.org/ Fribidi] download GNU FriBidi
* [http://fribidi.org/ Fribidi] download GNU FriBidi




== Installation by Operating System and Distribution: ==
== Installation by Operating System and Distribution: ==
=== Debian GNU/Linux and Ubuntu Linux===

* Please download the [[#downloadlink_debian1|latest .deb package]] from the download section above, and install it as you would install any ordinary Debian package:
=== Debian GNU/Linux ===
** In root (or sudo), install it with <pre>dpkg -i glob2_VERSION.deb</pre>
* Please download the [[#downloadlink_debian1|latest .deb package]] from the download section above, and install it as you would install any ordinary debian package:
** If you miss some dependencies, do an <pre>apt-get -f install</pre> as root (or sudo). Do NOT remove the glob2 package before apt-get -f install.
** In root (or sudo), install it with ''dpkg -i glob2_VERSION.deb''.
* You can now run Globulation 2 by typing <pre>glob2</pre>
** 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 also use the integrate glob2 package using <pre>apt-get install glob2</pre> but most likely it is not up to date so you will not be able to play on YOG or against others using the latest version.
* 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 [[#downloadlink_debian1|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.
* Globulation packages are available at http://www.getdeb.net/app.php?name=Globulation+2.
=== Fedora ===
=== Fedora ===
* Globulation 2 is now in Fedora repository.
* Globulation 2 is now in Fedora repository.
* Type ''yum install glob2'' as root to install it.
* Type <pre>yum install glob2</pre> as root to install it.


=== Gentoo GNU/Linux ===
=== Gentoo GNU/Linux ===
* An ebuild exists, and is in portage. To install, just execute (as root): ''emerge glob2''
* An ebuild exists, and is in portage. To install, just execute (as root): <pre>emerge glob2</pre>
* Make sure you are in the games group
* Make sure you are in the games group


=== Arch Linux ===
=== Arch Linux ===
* A package exists in the community repository. To install, execute (as root): ''pacman -S glob2''
* A package exists in the community repository. To install, execute (as root): <pre>pacman -S glob2</pre>
** Make sure the community repository is enabled in pacman.conf
** Make sure the community repository is enabled in pacman.conf


=== Source Mage GNU/Linux ===
=== Source Mage GNU/Linux ===
* A spell exists. Make sure that games grimoire is up to date, and execute (as root): ''cast globulation2''
* A spell exists. Make sure that games grimoire is up to date, and execute (as root): <pre>cast globulation2</pre>


=== Mandriva Linux ===
=== Mandriva Linux ===
Line 96: Line 83:
** Run the 'scons' script to compile the game (it will check dependencies, install any you have missing)
** Run the 'scons' script to compile the game (it will check dependencies, install any you have missing)
*** If you want to install the game in a special place, instead of 'scons', type:
*** If you want to install the game in a special place, instead of 'scons', type:
****scons BINDIR="/path/to/install/bin" INSTALLDIR="/path/to/install/share".
scons BINDIR="/path/to/install/bin" INSTALLDIR="/path/to/install/share"
** Install with a simple 'scons install' command (will install to the location you might have entered when compiling (BINDIR and INSTALLDIR)).
** Install with a simple 'scons install' command (will install to the location you might have entered when compiling (BINDIR and INSTALLDIR)).
** 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.
Line 107: Line 94:
:hg clone -r default glob2 glob2-work
:hg clone -r default glob2 glob2-work
:* 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
::cd glob2
cd glob2
::hg pull
hg pull
::cd ../glob2-work
cd ../glob2-work
::hg pull -r default ../glob2
hg pull -r default ../glob2
::hg update -C tip
hg update -C tip
* Read the README.hg and README files.
* Read the README.hg and README files.
* Continue by following the [[#Source_Distribution|''source distribution'']] instructions from the 3rd step onwards.
* Continue by following the [[#Source_Distribution|''source distribution'']] instructions from the 3rd step onwards.

Revision as of 16:25, 26 January 2008

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

uninstaller data loss warning: The Windows uninstaller will delete the whole folder you install glob2 to. So DON'T INSTALL GLOB2 INTO AN EXISTING FOLDER or put data into that folder you might miss after uninstalling glob2!! You've been warned! Download glob2win32_beta1.exe.

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

Compilation requirements

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

Optional:

Installation by Operating System and Distribution:

Debian GNU/Linux and Ubuntu 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
  • You can also use the integrate glob2 package using
    apt-get install glob2
    but most likely it is not up to date so you will not be able to play on YOG or against others using the latest version.

Fedora

  • Globulation 2 is now in Fedora repository.
  • Type
    yum install glob2
    as root to install it.

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

Arch Linux

  • A package exists in the community repository. To install, execute (as root):
    pacman -S glob2
    • Make sure the community repository is enabled in pacman.conf

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

  • Download Globulation-0.9.1.dmg (Intel, 10.5 required)
    (Can also use MacPorts to install glob2 on older systems/architectures: sudo port install glob2)
  • To install, mount the disk image (may have been automatically decompressed if you are using Safari) and copy the Globulation application to a location of your choice.

FreeBSD

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

Compile from Sources

Compiling on Windows: The instructions below will not work for Windows. To compile on that OS, please see the Mingw compilation guide, which explains how to compile globulation2 on windows using mingw.

Source Distribution

  • 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 'scons' script to compile the game (it will check dependencies, install any you have missing)
      • If you want to install the game in a special place, instead of 'scons', type:
scons BINDIR="/path/to/install/bin" INSTALLDIR="/path/to/install/share"
    • Install with a simple 'scons install' command (will install to the location you might have entered when compiling (BINDIR and INSTALLDIR)).
    • Run the game by typing 'glob2'. If it doesn't work, type '/path/to/install/bin/glob2' instead.
    • Note: in some Linux distributions (eg: Archlinux), scons complains about not to find -lboost_thread (with boost already installed). A solution is to modify the SConstruct file to look for boost_thread-mt instead of boost_thread, and the modify the LIBS variable with boost_thread-mt, to link against this library. If you have root access you can create a symlink libboost_thread.so instead.

Sources from Mercurial

Warning: Mercurial is occasionally unstable and will break, it is meant for testing purposes.
  • Download the source code from the Mercurial by typing
hg clone http://hg.globulation2.org/glob2/
hg clone -r default glob2 glob2-work
  • You can update the source code you have any time with a simple
cd glob2
hg pull
cd ../glob2-work
hg pull -r default ../glob2
hg update -C tip
  • Read the README.hg and README files.
  • Continue by following the source distribution instructions from the 3rd step onwards.
Misc