Crossfire should install and run on any Linux variant that supports X and has the libraries which Crossfire requires.
This page addresses installation and running of Crossfire software. For instructions related to setup and use of a Linux development environment to build Crossfire software, refer to the Linux Developer index page.
Crossfire is available in all Debian distributions; oldstable, stable, testing and unstable.
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 Crossfire development, see the Linux Developer index page where resources related to toolchain setup and source compilation are listed.
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)
On older releases of Debian, additional commands are necessary because of Bug 920955
After installation, run the following commands:
$ sudo chown -R games.games /var/games/crossfire
This will correctly change file and directory ownership of the game server files to allow you to save player files, apartment maps, etc.
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
Crossfire is available in all (K|X)Ubuntu distributions (warty, hoary, breezy, dapper, edgy, feisty, gutsy, hardy, ibex, jaunty, karmic, lucid and maverick) and found in the universe section; the exceptions being that the crossfire-client-gtk2 client is only available for the edgy, feisty, hardy, ibex, jaunty, karmic, lucid and maverick distribution and the no longer maintained crossfire-maps-small (aka small world which stopped being maintained at v1.5.0) package is only available for the dapper, hardy, jaunty, karmic, lucid and maverick releases. The original two clients, crossfire-client-x11 and crossfire-client-gtk, are only available up to the lucid release.
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.)
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
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:
Crossfire is available in Fedora 8, Fedora 9 & Fedora 10 projects.
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.)
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
- more information for the following “short list” of other Linux distros