This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Installing on Linux: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Mr Burns (talk | contribs)
mNo edit summary
 
(15 intermediate revisions by 12 users not shown)
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 ==
You extract it and run the install script as root.
You extract it and run the install script as root.
    tar -vzxf package.tar.gz
    cd bzflag-2.4.2
    ./configure --prefix=/install/path
    make
    sudo make install


== 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===
  $ sudo yum install bzflag
  $ sudo yum install bzflag
For the server package:
$ sudo yum install bzflag-server
=== openSUSE ===
$ sudo zypper install bzflag
For the server package:
$ sudo zypper install bzflag-server
=== Native RPM ===
$ sudo rpm -ivh bzflag.x86.208.rpm


=== Ubuntu / Debian ===
=== Ubuntu / Debian ===
  $ sudo apt-get install bzflag
  $ sudo apt-get install bzflag
For the server package:
$ sudo apt-get install bzflag-server
=== Arch ===
# pacman -S bzflag
=== Gentoo ===
# emerge bzflag
== External Links ==
* [http://bzflag.org/downloads Download page for the latest binaries and source]


[[Category:Installing]]
[[Category:Installing]]
[[Category:Tutorials]]

Latest revision as of 15:03, 4 July 2016

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.

   tar -vzxf package.tar.gz
   cd bzflag-2.4.2
   ./configure --prefix=/install/path
   make
   sudo make install

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

$ sudo yum install bzflag

For the server package:

$ sudo yum install bzflag-server

openSUSE

$ sudo zypper install bzflag

For the server package:

$ sudo zypper 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

Arch

# pacman -S bzflag

Gentoo

# emerge bzflag

External Links