This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Installing on Linux"

From BZFlagWiki
Jump to: navigation, search
m
 
Line 5: Line 5:
  
 
{{main|Compiling}}
 
{{main|Compiling}}
 
see also [[ubuntu_and_bzflag_2.4]]
 
  
 
== Installing from tarball ==
 
== Installing from tarball ==
Line 54: Line 52:
  
 
  # pacman -S bzflag
 
  # pacman -S bzflag
 
  
 
=== Gentoo ===
 
=== Gentoo ===

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]