Difference between revisions of "Freeciv"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 6: Line 6:
 
== SUSE Linux 11.3 ==
 
== SUSE Linux 11.3 ==
 
This is an example that worked on 2010-11-06 with freeciv 2.2.3 on SUSE Linux 11.3
 
This is an example that worked on 2010-11-06 with freeciv 2.2.3 on SUSE Linux 11.3
* Install SDL, a multimedia framework, and some other packages
+
* Install some [[dependencies]]
  yast -i libSDL-devel libSDL-image-devel sdl-mixer-devel sdl-mixer-devel [[gcc-c++]] [[make]]
+
  yast -i lib[[SDL]]-devel libSDL-image-devel sdl-mixer-devel sdl-mixer-devel [[gcc-c++]] [[make]]
 
* Download the source from http://freeciv.wikia.com/wiki/Main_Page  
 
* Download the source from http://freeciv.wikia.com/wiki/Main_Page  
 
  bunzip2 freeciv-2.2.3.tar.bz2
 
  bunzip2 freeciv-2.2.3.tar.bz2

Revision as of 15:54, 6 November 2010

Freeciv is one of the best Linux games, but hard and complicated to install. With it, you can be the leader of a civilization and conquer the world. Decide if you want to go to war, develop your science or build world wonders and so on.

QuickStart

To download, install and start freeciv, find out your distribution and proceed accordingly:

SUSE Linux 11.3

This is an example that worked on 2010-11-06 with freeciv 2.2.3 on SUSE Linux 11.3

yast -i libSDL-devel libSDL-image-devel sdl-mixer-devel sdl-mixer-devel gcc-c++ make
bunzip2 freeciv-2.2.3.tar.bz2
tar xvf freeciv-2.2.3.tar
cd freeciv-2.2.3
./configure --enable-client=sdl && make -j8 && make install
  • run it using the command
freeciv-gtk -P sdl

If you do leave out -P sdl, you will not be able to hear sound.

SUSE Linux 11.1

This is an example that works with freeciv 2.1.8 on SUSE Linux 11.1, but it should work with every distribution.

  • Install SDL mixer devel
yast -i sdl-mixer-devel
bunzip2 freeciv-2.1.8.tar.bz2
tar xvf freeciv-2.1.8.tar
cd freeciv-2.1.8
./configure && make -j4 && make install