Freeciv
No edit summary
(Undo revision 20837 by 24.220.100.69 (talk))
(27 intermediate revisions by 15 users not shown)
Line 13: Line 13:
 
# ANSI C compiler (gcc 2.95 or higher will do)
 
# ANSI C compiler (gcc 2.95 or higher will do)
 
# make
 
# make
  +
   
 
Unixes:
 
Unixes:
   
# The X Window System
+
# The [[wikipedia:X Window System|X Window System]]
# Xaw/Xaw3d and Xpm (3.4k) -or-<br />Glib (1.2.6), GTK+ (1.2.6) and Imlib (1.9.7)
+
# [[wikipedia:Xaw|Xaw]]/Xaw3d and Xpm (3.4k) -or-<br />[[wikipedia:Glib|Glib]] (1.2.6), [[wikipedia:GTK+|GTK+]] (1.2.6) and Imlib (1.9.7)
  +
   
 
Windows:
 
Windows:
   
# A Unix environment (Cygnus, msys).
+
# A Unix environment ([[wikipedia:Cygwin|Cygnus]], msys).
# MinGW runtime libraries
+
# [[wikipedia:MinGW|MinGW]] runtime libraries
# Windows API libraries
+
# [[wikipedia:Windows API|Windows API]] libraries
 
: (All of these packages can be found at [http://www.mingw.org mingw] or [http://www.cygwin.com cygwin])
 
: (All of these packages can be found at [http://www.mingw.org mingw] or [http://www.cygwin.com cygwin])
  +
   
 
OS2:
 
OS2:
   
 
# A Unix environment (Cygnus).
 
# A Unix environment (Cygnus).
  +
   
 
Packages which satisfy some of these requirements can be found on the [http://download.gna.org/freeciv/requirements/ download server].
 
Packages which satisfy some of these requirements can be found on the [http://download.gna.org/freeciv/requirements/ download server].
Line 34: Line 38:
 
based on [http://www.x.org/ X]:
 
based on [http://www.x.org/ X]:
   
* GNU/Linux ([[Install-Debian|Debian]], [[Install-Gentoo|Gentoo]], etc.)
+
* GNU/Linux ([[Install-Debian|Debian]], [[Install-Gentoo|Gentoo]], [[Install-Ubuntu|Ubuntu]], etc.)
 
* Sun Solaris 2.x
 
* Sun Solaris 2.x
 
* SunOS 4.x
 
* SunOS 4.x
Line 50: Line 54:
 
* OSF1
 
* OSF1
 
* [[Install-Cygwin|Cygwin]]
 
* [[Install-Cygwin|Cygwin]]
  +
* [[Install-Maemo|Maemo]]
  +
   
 
without X:
 
without X:
Line 70: Line 76:
 
''Follow these 4 steps and you will be playing Freeciv in no time!''
 
''Follow these 4 steps and you will be playing Freeciv in no time!''
   
  +
===Install===
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">
 
  +
:''Windows users, see [[Install-Windows]] instructions.''
</span></span>
 
  +
:''MacOSX users, see [[Install-MacOSX]] instructions.''
  +
Install the software on your local computer:
 
:* If you downloaded a precompiled '''binary''' package for your platform, install it using the method of the packaging system.
  +
:* If you downloaded the source code, unpack and compile it. On Unix-like systems, this can be done as follows:
  +
:*# Change to the directory where you want to perform the installation work; <code>/tmp</code> is often a good choice.
  +
:*# Unpack the file you downloaded (see [[unzipping]]). The files are put into a subdirectory; <code>cd</code> into it.
 
:*# If you're too impatient to read and follow the {{INSTALL}} and other documentation to be found there, try the command <pre>./configure && make install</pre> and hope for the best. However, you will probably need to pass some options to <code>./configure</code>, call <code>gmake</code> instead of <code>make</code>, or install some auxiliary software packages first.
  +
:* For example to install freeciv 2.3.3 from source on a freshly installed 32 bit debian squeezy (with ati video hardware acceleration installed automatically by default), you could do this:
  +
#
  +
!/bin/sh
  +
#using default /etc/apt/sources.list
  +
  +
#be sure have root terminal!
  +
  +
#update apt to get latest versions possible
  +
apt-get update
  +
#requirements:
  +
apt-get install build-essential zlib1g-dev gtk+2.0 autoconf libpangomm-1.4-dev libpng++-dev libiconv-hook-dev libimlib2-dev libgd2-xpm-dev libglib2.0-dev automake pkg-config libatk1.0-dev
  +
  +
#go somewhere safe
  +
cd /home
  +
mkdir freeciv
  +
cd freeciv
  +
  +
#get fonts:
  +
wget http://download.gna.org/freeciv/requirements/cjk_fonts.tar.bz2
  +
tar jxfv cjk_fonts.tar.bz2
  +
rm cjk_fonts.tar.bz2
  +
rm COPYING.*
  +
mkdir /usr/share/fonts/truetype/freeciv
  +
cp *.ttf /usr/share/fonts/truetype/freeciv
  +
rm *.ttf
  +
#reload fonts:
  +
fc-cache -fv
  +
  +
#get freeciv itself:
  +
wget http://download.gna.org/freeciv/stable/freeciv-2.3.3.tar.bz2
  +
tar jxfv freeciv-2.3.3.tar.bz2
  +
rm freeciv-2.3.3.tar.bz2
  +
cd freeciv-2.3.3
  +
#compile:
  +
./configure
  +
make
  +
make install
  +
  +
#clean up
  +
cd /home
  +
rm -f -r freeciv
  +
  +
# Check under Applications, Games, Freeciv to start freeciv.
  +
# or, start from any non-root terminal with command:
  +
# freeciv-gtk2
  +
  +
Package requirements by distro:
  +
  +
Mandrake/Mandriva:
  +
*libgdk_pixbuf2.0_0-devel
  +
*libpango1.0-devel
  +
*libatk-10._0-devel
  +
*libgtk_2.0_0-devel
  +
CentOS/RHEL 5:
  +
*gtk2-devel
  +
[[Category:Installing]]
   
  +
===Start the client===
===<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Install</span></span>===
 
  +
Start the client by executing the command free<code>civ-gtk2 (or whatever GUI Freeciv is built against).</code>
:<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">''Windows users, see [[Install-Windows]] instructions.'' </span></span>
 
 
:This must be done from your GUI ([[X]]) interface. If you installed a precompiled package, it may provide a shortcut in the form of a Freeciv icon or something similar. A dialog window appears with the following alternatives:
:<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">''MacOSX users, see [[Install-MacOSX]] instructions.'' </span></span>
 
  +
:* '''Start New Game''' lets you start and customize a new game and launch a server to host the game.
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Install the software on your local computer: </span></span>
 
  +
:* '''Start Scenario Game''' lets you play one of the scenarios which are available.
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If you downloaded a precompiled '''binary''' package for your platform, install it using the method of the packaging system. </span></span>
 
  +
:* '''Load Saved Game''' allows you to continue playing on a saved game.
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If you downloaded the source code, unpack and compile it.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">On Unix-like systems, this can be done as follows: </span></span></span>
 
 
:* '''Connect to Network Game''' gives the possibility to search for a server using an [[Freeciv Metaserver|Internet Metaserver]] or search for a server on your Local Area Network. Internet Metaserver allows you to select one of the current available servers elsewhere on the net. Searching for servers on your Local Area Network uses multicast to locate other Freeciv servers, and will not detect servers properly if your server is behind a firewall. If the server is in ''Pregame'' state, it still accepts new players. If the game has already started, you can only connect as an existing player.
:*# <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Change to the directory where you want to perform the installation work; <code>/tmp</code> is often a good choice. </span></span></span>
 
:*# <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Unpack the file you downloaded (see [[unzipping]]).</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">The files are put into a subdirectory; <code>cd</code> into it. </span></span></span></span>
 
:*# <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If you're too impatient to read and follow the {{INSTALL}} and other documentation to be found there, try the command <pre>./configure && make install</pre> and hope for the best.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">However, you will probably need to pass some options to <code>./configure</code>, call <code>gmake</code> instead of <code>make</code>, or install some auxiliary software packages first. On Mandrake/Mandriva, you will need to install versions of </span></span></span></span></span>
 
:::*<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">libgdk_pixbuf2.0_0-devel </span></span></span></span></span>
 
:::*<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">libpango1.0-devel </span></span></span></span></span>
 
:::*<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">libatk-1.0_0-devel </span></span></span></span></span>
 
:::*<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">libgtk+2.0_0-devel (this one last)</span> </span></span></span></span>
 
   
  +
===Start the game===
===<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Start the client</span></span></span></span>===
 
  +
=====If you play alone, on your own server:=====
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Start the client by executing the command <code>civclient</code>. </span></span></span></span>
 
  +
:* To play with 4 computer players, type <code>set aifill 5</code> on the server prompt.
:<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">This must be done from your GUI ([[X]]) interface. If you installed a precompiled package, it may provide a shortcut in the form of a Freeciv icon or something similar. A dialog window appears with the following alternatives: </span></span></span></span>
 
  +
:* On the server prompt, type <code>start</code> to start the game.
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">'''Start New Game''' lets you start and customize a new game and launch a server to host the game. </span></span></span></span>
 
  +
:* Change back to the client window and pick your nation.
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">'''Start Scenario Game''' lets you play one of the scenarios which are available. </span></span></span></span>
 
  +
=====If you play with others:=====
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">'''Load Saved Game''' allows you to continue playing on a saved game. </span></span></span></span>
 
  +
:* On the server prompt, you can issue the command <code>cmdlevel ctrl</code> so clients are allowed to give server commands.
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">'''Connect to Network Game''' gives the possibility to search for a server using an [http://www.freeciv.org/index.php/Freeciv_Metaserver Internet Metaserver] or search for a server on your Local Area Network. Internet Metaserver allows you to select one of the current available servers elsewhere on the net. Searching for servers on your Local Area Network uses multicast to locate other Freeciv servers, and will not detect servers properly if your server is behind a firewall. If the server is in ''Pregame'' state, it still accepts new players. If the game has already started, you can only connect as an existing player. </span></span></span></span>
 
  +
:* In the client window, you can type <code>/start</code>. You may want to wait for players and discuss the setup with them first.
  +
:* Pick your nation and wait for others to pick theirs. If you leave now, you will be removed from the game.
 
:* If someone won't or can't pick a nation (use the <code>/list</code> command to find out), you can <code>/ai</code> them or <code>/cut</code> them from the game altogether.
   
  +
More details and options can be found elsewhere on [[Docs|the site]].
===<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Start the game</span></span></span></span>===
 
=====<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">If you play alone, on your own server:</span></span></span></span>=====
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">To play with 4 computer players, type <code>set aifill 5</code> on the server prompt. </span></span></span></span>
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">On the server prompt, type <code>start</code> to start the game. </span></span></span></span>
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Change back to the client window and pick your nation. </span></span></span></span>
 
=====<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">If you play with others:</span></span></span></span>=====
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">On the server prompt, you can issue the command <code>cmdlevel ctrl</code> so clients are allowed to give server commands. (On [http://pubserver.freeciv.org/ public civservers], we do this for you.) </span></span></span></span>
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">In the client window, you can type <code>/start</code>. You may want to wait for players and discuss the setup with them first. </span></span></span></span>
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Pick your nation and wait for others to pick theirs. If you leave now, you will be removed from the game. </span></span></span></span>
 
:* <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">If someone won't or can't pick a nation (use the <code>/list</code> command to find out), you can <code>/ai</code> them or <code>/cut</code> them from the game altogether. </span></span></span></span>
 
   
 
Now that you've gotten it running, you'll want to play your first few games. It is recommended that you try playing solitaire a few times, so that you can get a feel for how things work, but this is not necessary. You can learn by playing with others as well.
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">More details and options can be found elsewhere on [[Docs|the site]]. </span></span></span></span>
 
   
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">Now that you've gotten it running, you'll want to play your first few games. It is recommended that you try playing solitaire a few times, so that you can get a feel for how things work, but this is not necessary. You can learn by playing with others as well. </span></span></span></span>
 
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">
 
   
{{GetStartedNav}} </span></span></span></span>
+
{{GetStartedNav}}
   
  +
[[da:Installation]]
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span onmouseover="_tipon(this)" onmouseout="_tipoff()">[[da:Installation]]
 
 
[[de:Installation]]
 
[[de:Installation]]
 
[[es:Instalación]]
 
[[es:Instalación]]
[[fr:Installation]]</span>
+
[[fr:Installation]]
  +
[[Category:Installing]]
</span>
 
</span>
 
</span>
 
[[Category:./configure && make install]]
 

Revision as of 23:39, 6 September 2013

This site in another language:   DanskDeutschEnglishEspañolFrançaisItaliano日本語NederlandsPolskiRomânăРусский

Requirements

The requirements for Freeciv and the platforms it's been reported successfully installed on. Note that GNU/Linux and Sun Solaris are the primary target platforms. Freeciv has not officially been tested on the other platforms. Note also that many OS distributors provide pre-packaged, ready-to-use distributions of Freeciv, and some more are available in our Download section.

Specific compiling requirements Platforms reported to work

All:

  1. ANSI C compiler (gcc 2.95 or higher will do)
  2. make


Unixes:

  1. The X Window System
  2. Xaw/Xaw3d and Xpm (3.4k) -or-
    Glib (1.2.6), GTK+ (1.2.6) and Imlib (1.9.7)


Windows:

  1. A Unix environment (Cygnus, msys).
  2. MinGW runtime libraries
  3. Windows API libraries
(All of these packages can be found at mingw or cygwin)


OS2:

  1. A Unix environment (Cygnus).


Packages which satisfy some of these requirements can be found on the download server.

based on X:


without X:

For more info about installing refer to the INSTALL file, included in the Freeciv distribution.

The SVN snapshots may have additional requirements for building; you need to use the flag ./configure --disable-auto-deps if your make isn't GNU make, and ./configure --disable-nls if you do not have a full gettext installation.




Follow these 4 steps and you will be playing Freeciv in no time!

Install

Windows users, see Install-Windows instructions.
MacOSX users, see Install-MacOSX instructions.

Install the software on your local computer:

  • If you downloaded a precompiled binary package for your platform, install it using the method of the packaging system.
  • If you downloaded the source code, unpack and compile it. On Unix-like systems, this can be done as follows:
    1. Change to the directory where you want to perform the installation work; /tmp is often a good choice.
    2. Unpack the file you downloaded (see unzipping). The files are put into a subdirectory; cd into it.
    3. If you're too impatient to read and follow the INSTALL and other documentation to be found there, try the command
      ./configure && make install
      and hope for the best. However, you will probably need to pass some options to ./configure, call gmake instead of make, or install some auxiliary software packages first.
  • For example to install freeciv 2.3.3 from source on a freshly installed 32 bit debian squeezy (with ati video hardware acceleration installed automatically by default), you could do this:
#

!/bin/sh

  1. using default /etc/apt/sources.list
  1. be sure have root terminal!
  1. update apt to get latest versions possible

apt-get update

  1. requirements:

apt-get install build-essential zlib1g-dev gtk+2.0 autoconf libpangomm-1.4-dev libpng++-dev libiconv-hook-dev libimlib2-dev libgd2-xpm-dev libglib2.0-dev automake pkg-config libatk1.0-dev

  1. go somewhere safe

cd /home mkdir freeciv cd freeciv

  1. get fonts:

wget http://download.gna.org/freeciv/requirements/cjk_fonts.tar.bz2 tar jxfv cjk_fonts.tar.bz2 rm cjk_fonts.tar.bz2 rm COPYING.* mkdir /usr/share/fonts/truetype/freeciv cp *.ttf /usr/share/fonts/truetype/freeciv rm *.ttf

  1. reload fonts:

fc-cache -fv

  1. get freeciv itself:

wget http://download.gna.org/freeciv/stable/freeciv-2.3.3.tar.bz2 tar jxfv freeciv-2.3.3.tar.bz2 rm freeciv-2.3.3.tar.bz2 cd freeciv-2.3.3

  1. compile:

./configure make make install

  1. clean up

cd /home rm -f -r freeciv

  1. Check under Applications, Games, Freeciv to start freeciv.
  2. or, start from any non-root terminal with command:
  3. freeciv-gtk2

Package requirements by distro:

Mandrake/Mandriva:

  • libgdk_pixbuf2.0_0-devel
  • libpango1.0-devel
  • libatk-10._0-devel
  • libgtk_2.0_0-devel

CentOS/RHEL 5:

  • gtk2-devel

Start the client

Start the client by executing the command freeciv-gtk2 (or whatever GUI Freeciv is built against).

This must be done from your GUI (X) interface. If you installed a precompiled package, it may provide a shortcut in the form of a Freeciv icon or something similar. A dialog window appears with the following alternatives:
  • Start New Game lets you start and customize a new game and launch a server to host the game.
  • Start Scenario Game lets you play one of the scenarios which are available.
  • Load Saved Game allows you to continue playing on a saved game.
  • Connect to Network Game gives the possibility to search for a server using an Internet Metaserver or search for a server on your Local Area Network. Internet Metaserver allows you to select one of the current available servers elsewhere on the net. Searching for servers on your Local Area Network uses multicast to locate other Freeciv servers, and will not detect servers properly if your server is behind a firewall. If the server is in Pregame state, it still accepts new players. If the game has already started, you can only connect as an existing player.

Start the game

If you play alone, on your own server:
  • To play with 4 computer players, type set aifill 5 on the server prompt.
  • On the server prompt, type start to start the game.
  • Change back to the client window and pick your nation.
If you play with others:
  • On the server prompt, you can issue the command cmdlevel ctrl so clients are allowed to give server commands.
  • In the client window, you can type /start. You may want to wait for players and discuss the setup with them first.
  • Pick your nation and wait for others to pick theirs. If you leave now, you will be removed from the game.
  • If someone won't or can't pick a nation (use the /list command to find out), you can /ai them or /cut them from the game altogether.

More details and options can be found elsewhere on the site.

Now that you've gotten it running, you'll want to play your first few games. It is recommended that you try playing solitaire a few times, so that you can get a feel for how things work, but this is not necessary. You can learn by playing with others as well.



Get Started: About | Screenshots | Download | Install | edit