Difference between revisions of "Installing on Linux"

From BZFlagWiki
Jump to: navigation, search
m
 
(8 intermediate revisions by 7 users not shown)
Line 3: Line 3:
 
== Compiling from Source ==
 
== Compiling from Source ==
 
This document is not designed to cover information about compiling.
 
This document is not designed to cover information about compiling.
 
see also [[ubuntu_2.4]]
 
  
 
{{main|Compiling}}
 
{{main|Compiling}}
Line 10: Line 8:
 
== 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 ==
Line 24: Line 28:
 
BZFlag will most likely be sorted to the Games category.
 
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:
 
For the server package:
 
  $ sudo yum install bzflag-server
 
  $ sudo yum install bzflag-server
 +
 +
=== openSUSE ===
 +
$ sudo zypper install bzflag
 +
 +
For the server package:
 +
$ sudo zypper install bzflag-server
  
 
=== Native RPM ===
 
=== Native RPM ===
Line 39: Line 49:
 
  $ sudo apt-get install bzflag-server
 
  $ sudo apt-get install bzflag-server
  
=== Other Debian / DPKG ===
+
=== Arch ===
 
+
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.
+
# pacman -S bzflag
  
 
=== Gentoo ===
 
=== Gentoo ===
Line 61: Line 58:
  
 
== External Links ==
 
== External Links ==
* http://sourceforge.net/projects/bzflag/files/ Official BZFlag file repository on SourceForge
+
* [http://bzflag.org/downloads Download page for the latest binaries and source]
* http://packages.debian.org/sid/bzflag BZFlag-packages for debian sid in the official debian repository
+
  
 
[[Category:Installing]]
 
[[Category:Installing]]
 
[[Category:Tutorials]]
 
[[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[edit]

This document is not designed to cover information about compiling.

Main article: Compiling

Installing from tarball[edit]

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[edit]

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[edit]

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

Fedora / Red Hat / Mandriva[edit]

$ sudo yum install bzflag

For the server package:

$ sudo yum install bzflag-server

openSUSE[edit]

$ sudo zypper install bzflag

For the server package:

$ sudo zypper install bzflag-server

Native RPM[edit]

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

Ubuntu / Debian[edit]

$ sudo apt-get install bzflag

For the server package:

$ sudo apt-get install bzflag-server

Arch[edit]

# pacman -S bzflag

Gentoo[edit]

# emerge bzflag

External Links[edit]