Crossfire on Linux

Crossfire should install and run on any Linux variant that supports X and has the libraries which Crossfire requires.

Debian

Crossfire is available in all Debian distributions; oldstable, stable, testing and unstable.

Installation

The easiest way to install Crossfire on Debian is to use the Debian package system and repository. The version there may lag somewhat behind the latest release, but it will be tested for Debian and automatically install any needed dependencies.

To stay current with the latest development version, see also:

Server

The server installation command is the following:

$ apt-get update;apt-get install crossfire-server crossfire-maps

Note: you may need to use the sudo command to install these packages

$ sudo apt-get update;sudo apt-get install crossfire-server crossfire-maps

This will install the Crossfire server (crossfire-server) and the current map set (crossfire-maps)

If necessary, you can stop, start or restart the crossfire server via the following commands, respectively:

$ /etc/init.d/crossfire-server stop
$ /etc/init.d/crossfire-server start
$ /etc/init.d/crossfire-server restart

Again, adding sudo to those commands may be necessary. For example:

$ sudo /etc/init.d/crossfire-server restart

Client

Installation of the client has a similar syntax. You’ll need to chose which client you want to install, or if you install any (or all of) the three - which one you’ll actually use for game play.

$ apt-get install crossfire-client-x11
$ apt-get install crossfire-client-gtk
$ apt-get install crossfire-client-gtk2

Launch Client

To launch the client, hit alt+f2 and then enter any of the following (shown in bold text):

  • For crossfire-client-x11: cfclient
  • For crossfire-client-gtk: gcfclient
  • For crossfire-client-gtk2: gcfclient2

(Minor Note: gcfclient stands for GTK CrossFire client)

(K|X)Ubuntu

Crossfire is available in all (K|X)Ubuntu distributions (warty, hoary, breezy, dapper, edgy, feisty, gutsy and hardy) and found in the universe section; the exceptions being that the crossfire-client-gtk2 client is only available for the edgy, feisty and hardy distribution and the no longer maintained crossfire-maps-small (aka small world) package is only available for the dapper, edgy, feisty and hardy distribution.

Installation

The easiest way to install Crossfire on Ubuntu is to use the (K|X)Ubuntu package system and repository. The version there may lag somewhat behind the latest release, but it will be tested for (K|X)Ubuntu and automatically install any needed dependencies. (To stay current with the latest development version, see the Crossfire SVN page.)

Command Line Interface (CLI)

Server

The server installation command is the following:

$ sudo apt-get update;sudo apt-get install crossfire-server crossfire-maps

This will install the Crossfire server (crossfire-server) and the current map set (crossfire-maps)

If necessary, you can stop, start or restart the crossfire server via the following commands, respectively:

$ sudo /etc/init.d/crossfire-server stop
$ sudo /etc/init.d/crossfire-server start
$ sudo /etc/init.d/crossfire-server restart
Client

Installation of the client has a similar syntax. You’ll need to chose which client you want to install, or if you install any (or all of) the three - which one you’ll actually use for game play.

$ sudo apt-get install crossfire-client-x11
$ sudo apt-get install crossfire-client-gtk
$ sudo apt-get install crossfire-client-gtk2

GUI

Client and Server

The following steps summarize how to install Crossfire packages through the GUI (Synaptic Package Manager.) The instructions are based of an installation of Feisty Fawn, the actual steps may vary for earlier releases or distributions of Ubuntu.

If necessary, to enable access to the Universe section OR confirm that you have access to the Universe section, perform the following steps:

  1. Click on SystemAdministrationSynaptic Package Manager
  2. Within Synaptic Package Manager, click on SettingsRepositories and a new popup window should appear
  3. Place a check, or make sure there is a check, in front of Community maintained Open Source software (universe)
  4. Click on the Close button (lower right of the popup window)
  5. If necessary, click on the Close button to the Repositories Changed window
  6. Click on Update to download or update the new software package list
  7. Click on the Search button and a new popup window will appear
  8. For the search term, use crossfire and click on Search
  9. Select which component(s) you wish to install; at a minimum you’ll need at least one of the clients
  10. Follow the prompts and confirmation steps (check box next to the package name, confirm the installation) and click on Apply
  11. Wait for the files to download and install

Launch Client

  • IMPORTANT Note:
    • We’ve heard there’s a weird seemingly ubuntu-specific bug in ubuntu’s package of gcfclient2, with it repeating each keypress twice when typing... nobody except ubuntu package users seem to be able to reproduce this

To launch the client, hit alt+f2 and then enter any of the following (shown in bold text):

  • For crossfire-client-x11 client: cfclient
  • For crossfire-client-gtk: gcfclient
  • For crossfire-client-gtk2: gcfclient2

(Minor Note: gcfclient stands for GTK CrossFire client)

Fedora : Fedora 7, Fedora 8, Fedora 9

Crossfire is available in Fedora 7, Fedora 8 & Fedora 9 projects.

Installation

The easiest way to install Crossfire on Fedora is to use the Fedora Package Collection. The version there may lag somewhat behind the latest release, but it will be tested for Fedora and automatically install any needed dependencies. (To stay current with the latest development version, see the Crossfire SVN page and the crossfire_compile_guide.)

Server

The server installation command is the following:

$ yum update; yum install crossfire

Note: you may need to use the sudo command to install these packages

$ sudo yum update;sudo yum install crossfire

This will install the Crossfire server and the current map set.

If necessary, you can stop, start or restart the crossfire server via the following commands, respectively:

$ /etc/init.d/crossfire stop
$ /etc/init.d/crossfire start
$ /etc/init.d/crossfire restart

Again, adding sudo to those commands may be necessary. For example:

$ sudo /etc/init.d/crossfire restart

Client

Installation of the client has a similar syntax.

$ yum install crossfire-client

Launch Client

To launch the client run / or alt-F2 crossfire-client-gtk2

or select crossfire from your gnome or KDE menu for the gtk1 client

(Minor Note: gcfclient stands for GTK CrossFire client)

FIXME - Add or update with a GUI install HOWTO for Fedora

Emulators

QEMU

  • The qemu page contains information how to use qemu to test/run crossfire on a virtual host.
  • The example is based on a Mandriva OS from the Free OS Zoo.

"Others"

FIXME - more information for the following “short list” of other Linux distros

  • Slackware
  • Mandriva
  • SuSE
  • Gentoo
 
linux.txt · Last modified: 2008/06/07 18:43 by leaf
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki