WesnothBinariesLinux

From The Battle for Wesnoth Wiki
Revision as of 21:47, 8 March 2014 by BiafraRepublic (talk | contribs) (Adding Debian derivative SteamOS, as it can use Debian's packages.)

Template:WesnothBinariesLinux/Translations

Not all Distributions are always at the state of the current release. If you want to be sure to have the current version, please get the sources and compile it yourself.

Arch Linux

  • The latest stable version can be installed from the [community] repository: pacman -S wesnoth
  • There's a wesnoth-devel package for development releases in AUR.

Debian

Command-line install

To install Wesnoth, run the following to pull in everything:

aptitude install wesnoth wesnoth-music

International language support

Debian does not come with all locales. If you can't choose your language, you need to add locale for your lang. see man locale.gen for more info.

Compiling

If you want to play with the repository version directly you may have to compile it yourself. See Compiling Wesnoth.

To install the dependencies: You can use the Build-Dependencies command in Aptitude for the Debian package.

Just do the following to pull in most of what you need:

aptitude build-dep wesnoth

Note: If you have already installed an older version of wesnoth, uninstall it by running:

aptitude purge wesnoth

Note that this will not remove downloaded data or savegames which are stored in your home directory in the folder .wesnoth. From this point on you can simply follow the advices from the Compiling Wesnoth page.

SteamOS

Installing Battle for Wesnoth on SteamOS is similar to doing so on Debian, as SteamOS is largely based on Debian "wheezy". However, there are a few steps to take to enable the Debian repositories in SteamOS. Click here for directions. After they are enabled, run the following as root to install wesnoth to use in Desktop mode:

aptitude install wesnoth wesnoth-music

To add a shortcut to launch wesnoth in Big Picture mode, open the Steam client in Desktop mode and follow these instructions. Then close the client and switch back to using Big Picture and it will be under Games.

NOTE: You will need to enable access to the desktop in SteamOS to add the Debian repositories to SteamOS. Click here and scroll down to the heading "How do I get to the desktop on SteamOS? All I see is Steam." for instructions

Ubuntu

Click here to install the latest version of the wesnoth packaged for your release. Alternatively, search for "wesnoth" in the Ubuntu Software Center or use following command:

sudo apt-get install wesnoth

Available Versions

Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth.

Release Packaged Version
13.10 (Saucy) 1.10.6
12.10 (Quantal) 1.10.4, with 1.10.5 in backports
12.04 (Precise) 1.10.2

Repos with newer vesions

You can get the very latest version from the Software Center by enabling backports, see here.

PlayDeb usually has the latest version very promptly, as well.

If you are interested in the development version of wesnoth, you can get it from this PPA: ppa:rhonda/wesnoth-devel

Another alternative with backports, especially wesnoth 1.11 from debian is c42-backport-games PPA: ppa:dirk-computer42/c42-backport-games. Note that it is not recommended to use packages from Debian on Ubuntu due to the multiple Ubuntu-specific changes that would be needed.

Compiling

If you choose to build Wesnoth from source you should add the datadir flag to configure to ensure your installation puts the data in the same place as the official installation path:

cd /usr/src
tar -xvjf wesnoth-1.x.x.tar.bz2
cd wesnoth-1.x.x
./configure --datadir=/usr/share/games ...
make
sudo make install

Fedora

Battle for Wesnoth is included in Fedora. The current version of Battle for Wesnoth is available for ARM, x86, and x86_64 architectures. If you have problems with these packages, or other questions, please contact the Fedora maintainer Jon Ciesla.

To install simply run:

yum install wesnoth wesnoth-tools wesnoth-server 

Gentoo

To install the game only, run the following as root:

emerge wesnoth

To install the game and the server, add 'server' to your USE flags, then run emerge as above.

Note: Gentoo currently operates as a rolling-release, updated approximately weekly.

The latest version marked stable is 1.10.7 for amd64, x86, ppc, andppc64.

To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:

games-strategy/wesnoth ~*

The ebuild is currently maintained by Michael Sterrett.

Mageia / Rosa

To install the latest stable version (as root):

urpmi wesnoth

For the development version (Rosa only, as root):

urpmi wesnoth-unstable

You can also use the GUI package manager RPMDrake (in the Control Centre).

To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:

Distribution Repository for wesnoth Repository for wesnoth-unstable
Rosa Linux Desktop contrib release contrib updates
Rosa Linux LTS contrib updates contrib updates
Mageia core release N/A







Pardus

  • Run Package Manager, click Games section, select Wesnoth and click install.
  • If you prefer to install Wesnoth from command line type pisi it wesnoth.

PCLinuxOS

  • RPM packages are included on the PCLinuxOS mirrors in the games repository under pclinuxos/2010 (for x86) or the x86_64 repository under pclinuxos/2011 (for x86_64)
  • Enable the repos, then either use your preferred package manager to install wesnoth, or run sudo apt-get install wesnoth
  • Contrary to the above naming scheme, PCLinuxOS operates on a rolling release, similar to Gentoo

Slackware/SalixOS

  • Packages of Battle for Wesnoth for Slackware 14 can be downloaded from Slacky Latest Wesnoth build for Slackware 14.0: 1.10.5
  • SalixOS is a Slackware-derived distribution that aims to provide packages that are also backwards-compatible with Slackware. The latest Wesnoth build in the SalixOS repositories for Slackware 14.1 and SalixOS 14.1 is 1.10.7.
  • Building from source using SlackBuild script from SlackBuilds.org. Slackbuilds for Battle for Wesnoth on Slackware 14.1 are for 1.10.7. Developmental branch requires you to edit a new line between 65 & 66 with './autogen.sh' in addition to changing the version number in the wesnoth.SlackBuild script.

Note: These packages depend on boost (plus icu if you use binary from Slacky), so it should be installed before installing Battle for Wesnoth binary or compiling from source.

Installation for Slackware

Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command (downloadable from Slacky or SalixOS).

For example:

installpkg wesnoth-1.6.3-i486-1sl.tgz boost-1.39.0-i686-1as.tgz icu-3.6-i486-2sl.tgz

SlackBuild script: Consult SlackBuilds HOWTO and compile

Installation for SalixOS

Run the following to get the latest version:

slapt-get --install wesnoth

OpenSUSE

These are builds of The Battle For Wesnoth for several versions of OpenSUSE, made for both i386 and x86_64 architecture.

You can either use the following One-Click-Install links below, or run the following at the command line (replacing 12.3 with your OpenSUSE version):

sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_12.3/ Games
sudo zypper ref
sudo zypper in wesnoth

The following packages were packaged by Holger Hetterich.

The following package was packaged by Phillip Westphal

Vine Linux (VineSeed)

"wesnoth" rpm package for "Vine Linux" is using VLGothic font.

To install simply run: apt-get install wesnoth

Other

See Also