WesnothBinariesLinux

From The Battle for Wesnoth Wiki
Revision as of 12:31, 30 April 2013 by BiafraRepublic (talk | contribs) (Mandriva / Rosa: Added Mageia Linux, and a warning about the now business-oriented Mandriva Linux)

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

  • aptitude install wesnoth
    (use wesnoth-all if you want to pull in all the campaigns and the editor, too)
  • Official packages including the development releases. You need to explicitly request which branch version of wesnoth you want, e.g. 1.8 (stable) or 1.10 (development)
  • backports.debian.org offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.

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. quick guide for lenny: uncomment locales you want in /etc/locale.gen, then as root run "locale-gen".

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 a neat trick: Use the Build-Dependencies of the Debian package.

Just do an aptitude build-dep wesnoth. That will pull in most you need.

To compile it:
If you have already installed an older version of wesnoth, uninstall it by:

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, no need to duplicate that informations in here. :)

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.04 (Raring) 1.10
12.10 (Quantal) 1.10
12.04 (Precise) 1.10
11.10 (Oneiric) 1.8, and 1.10 with backports enabled
11.04 (Natty) 1.8, and 1.10 with backports enabled
10.04 LTS (Lucid) 1.6, and 1.10 with backports enabled

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

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 ppc, i386, 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 versions marked stable are and 1.10.5 for x86, amd64, and ppc, and 1.10.4 for ppc64

The ebuild is currently maintained by Michael Sterrett.

Mandriva / Mageia / Rosa

NOTE: All free and paid consumer-oriented versions of Mandriva are end-of-life and thus no longer supported, and Mandriva is now selling commercial business server software. Switching to Mageia or Rosa is strongly advised.

To install the latest stable version (as root):

urpmi wesnoth

For the development version (Mandriva and 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
Mandriva Linux contrib release contrib backports
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.

Slackware/SalixOS

  • Packages of Battle for Wesnoth for Slackware 14 can be downloaded from [1] Latest Wesnoth build: 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 Slackware14 and SalixOS 14 is 1.10.4.
  • Building from source using SlackBuild script from SlackBuilds.org. Slackbuilds for Battle for Wesnoth on Slackware 14 are for 1.10.6. 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: Depends on boost package (+ icu package if you use binary from slacky.eu), 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 slapt-get --install wesnoth to get the latest version

OpenSUSE

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

For OpenSUSE 11.3 and higher, you can either use the following One-Click-Install links below, or run the following at the command line (replacing XX.X with your OpenSUSE version):

$ sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_XX.X/ Games
$ sudo zypper ref
$ sudo zypper in wesnoth

For OpenSUSE 11.1 and 11.2, wesnoth can be installed from the command line using zypper (see below). It is strongly recommended that you enable the Evergreen repositories to provide any bug fixes and updates unavailable in the main repositories.

If you have problems with these packages, or other questions, please contact Holger Hetterich.

$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.2.repo 
$ sudo zypper ref
$ sudo zypper in wesnoth
  • OpenSUSE Evergreen 11.1, run the following for v1.4:
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.1.repo 
$ sudo zypper ref
$ sudo zypper in wesnoth

Vine Linux

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

Vine Linux 5.x
VinePlus (plus category)
  • RPM package "wesnoth" is version 1.6.5.
  • RPM package "wesnoth147" is version 1.4.7.
VineSeed (unstable)
  • RPM package "wesnoth" is version 1.8.x. always sync upstream!
  • RPM package "wesnoth16" is version 1.6.5.

To install simply run:

  • apt-get install wesnoth

Yoper Linux

All versions built for Yoper 2.2.0-6, although they should install on 2.1. Please let kernowyon know via the Yoper forums if you get any problems Latest 1.0.2 version

1.0.1 version

Earlier version

Other

See Also