Difference between revisions of "Installing on Linux"

From BZFlagWiki
Jump to: navigation, search
(Gentoo: Remove bit about 2.0 svn branch, and broken link to svn ebuild)
(added instructions for DPKG and GUI installers, formatting & additional info)
Line 1: Line 1:
This is how to install. To compile, see [[:Category:Compiling|Compiling]].
+
There are various packages of BZFlag available to many different distributions.
 +
 
 +
== Compiling from Source ==
 +
This document is not designed to cover information about compiling.
 +
 
 +
{{main|Compiling}}
  
 
== Installing from tarball ==
 
== Installing from tarball ==
Line 5: Line 10:
  
 
== Installing using a package manager ==
 
== Installing using a package manager ==
This depends on your distribution. But for example:
+
This depends on your distribution. Different distributions use different package managers.
  $ sudo rpm -ivh bzflag.x86.208.rpm
+
 
 +
To understand the command lines please understand:
 +
$ ''indicates a user shell''
 +
# ''indicates a root shell''
 +
 +
  $ sudo ''is replaceable by'' #
 +
 
 +
=== Graphical Package Managers ===
 +
Search for "BZFlag" and install it.<br />
 +
BZFlag will most likely be sorted to the Games category.
  
 
=== Fedora / Red Hat / Mandriva / SUSE ===
 
=== Fedora / Red Hat / Mandriva / SUSE ===
 
  $ sudo yum install bzflag
 
  $ sudo yum install bzflag
+
 
 
For the server package:
 
For the server package:
 
  $ sudo yum install bzflag-server
 
  $ sudo yum install bzflag-server
 +
 +
=== Native RPM ===
 +
$ sudo rpm -ivh bzflag.x86.208.rpm
  
 
=== Ubuntu / Debian ===
 
=== Ubuntu / Debian ===
Line 19: Line 36:
 
For the server package:
 
For the server package:
 
  $ sudo apt-get install bzflag-server
 
  $ sudo apt-get install bzflag-server
 +
 +
=== Other Debian / DPKG ===
 +
 +
If you're only using the DPKG/Apt package manager you will be abled to install your downloaded package with the following command:
 +
 +
# dpkg -i package.deb
 +
 +
Replace package.deb with the particular package you want to install (e.g. bzflag-2.0.13.deb).
 +
 +
Download required packages from here: http://packages.debian.org/sid/bzflag
 +
 +
* bzflag
 +
* bzflag-data
 +
* bzflag-client
 +
* bzflag-server
 +
 +
Please note that you need to resolve any further dependencies yourself, DPKG can't do this for you.
  
 
=== Gentoo ===
 
=== Gentoo ===

Revision as of 18:04, 28 September 2010

There are various packages of BZFlag available to many different distributions.

Compiling from Source

This document is not designed to cover information about compiling.

Main article: Compiling

Installing from tarball

You extract it and run the install script as root.

Installing using a package manager

This depends on your distribution. Different distributions use different package managers.

To understand the command lines please understand:

$ indicates a user shell
# indicates a root shell

$ sudo is replaceable by #

Graphical Package Managers

Search for "BZFlag" and install it.
BZFlag will most likely be sorted to the Games category.

Fedora / Red Hat / Mandriva / SUSE

$ sudo yum install bzflag

For the server package:

$ sudo yum install bzflag-server

Native RPM

$ sudo rpm -ivh bzflag.x86.208.rpm

Ubuntu / Debian

$ sudo apt-get install bzflag

For the server package:

$ sudo apt-get install bzflag-server

Other Debian / DPKG

If you're only using the DPKG/Apt package manager you will be abled to install your downloaded package with the following command:

# dpkg -i package.deb

Replace package.deb with the particular package you want to install (e.g. bzflag-2.0.13.deb).

Download required packages from here: http://packages.debian.org/sid/bzflag

  • bzflag
  • bzflag-data
  • bzflag-client
  • bzflag-server

Please note that you need to resolve any further dependencies yourself, DPKG can't do this for you.

Gentoo

# emerge bzflag