WesnothBinariesLinux

From The Battle for Wesnoth Wiki
Revision as of 11:00, 19 July 2017 by Shiki (talk | contribs) (Available Versions)

Template:WesnothBinariesLinux/Translations

Not all distributions carry the latest stable or development releases. If you want to make sure you are running the newest official version of Wesnoth from either branch, get the sources from the Download page and compile them youself.

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 the AUR.

Debian

Command-line install

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

aptitude install wesnoth wesnoth-music

Compiling

If you want to run a newer release than the ones provided in the Debian repositories, or an unreleased version from the Git repository, you will have to build it from source. See Compiling Wesnoth for more details.

To install Wesnoth's dependencies if you have Debian's source repositories enabled in your config, you can just use apt's build-dep command with the package that best matches the version you are trying to build:

# Stable version
aptitude build-dep wesnoth
# Development version
aptitude build-dep wesnoth-1.13

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

# Stable version
aptitude purge wesnoth
# Development version
aptitude purge wesnoth-1.13

Bear in mind that this will not remove downloaded data or saved games stored in your home directory.

SteamOS

At present, installing Battle for Wesnoth on SteamOS is similar to doing so on Debian, as SteamOS is largely based on Debian. 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

Steam has Greenlit Battle for Wesnoth on its platform, and the developers have planned an early 2017 release onto the storefront timed with the release of of the 1.14.x series of releases. You can keep apprised of the status 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
17.04 (Zesty) 1.12.6
16.10 (Yakkety) 1.12.6
16.04 LTS (Xenial) 1.12.5
14.04 LTS (Trusty) 1.10.7

Repos with newer vesions

You can get a more up-to-date version from the Software Center by enabling backports, see here.

PlayDeb might have newer versions, as well.

Almost up-to-date versions are available in this PPA

If you are interested in the development version of wesnoth, you can get it from this PPA: ppa:pkg-games/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. See [1] for more informations.

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 1.13.8 is available for ARM, AArch64, ppc64, 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.12.6 for amd64 and x86. Only builds marked for testing are available for ppc and ppc64.

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 the Gentoo Games Project

Mageia / Rosa Linux / OpenMandriva Lx

To install the latest stable version (as root):

urpmi wesnoth

For the development version (Rosa Linux and OpenMandriva Lx 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 / OpenMandriva Lx contrib release contrib updates
Rosa Linux LTS contrib updates contrib updates
Mageia core release N/A






Pardus

Pardus Linux 2011.2 and older (using pisi)

  • Older versions of Pardus Linux use their own package manager, called 'pisi'.
  • Run Package Manager, click Games section, select Wesnoth and click install.
  • If you prefer to install Wesnoth from command line type pisi it wesnoth.

Pardus Linux 2013 and newer releases (using APT)

  • Newer versions of Pardus Linux are derived from what appears to be Debian 'stretch' or 'jessie-backports'
  • Use apt-get install wesnoth wesnoth-music.

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 in /etc/apt/sources.list, 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.1: 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.2 and SalixOS 14.2 is 1.12.6.
  • Building from source using SlackBuild script from SlackBuilds.org. The latest Slackbuilds for Battle for Wesnoth on Slackware 14.2 is for 1.12.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: 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: Download the Battle for Wesnoth binary package, along with the boost and icu packages, and install the downloaded files with the installpkg command (downloadable from Slacky or SalixOS).

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.

The OpenSUSE packages were packaged by Holger Hetterich.

Install using One-Click Installation

Use the correct link for your version of OpenSUSE:


Install using the command-line

You can also install wesnoth using Zypper the command line (replacing '_Leap_42.2' with your OpenSUSE version):

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


Vine Linux

  • Wesnoth for Vine Linux is 1.8.6
  • The version on their VineSeed dev branch is 1.12.6
  • The rpm package for Vine Linux utilizes the VLGothic font.

To install simply run: apt-get install wesnoth

Void Linux

Void Linux is another rolling release distribution, utilizing its own package manager. The current version available is 1.12.6 for x86, x86_64, armv6, and armv7.

To install simply run: xbps-install -S wesnoth

The build is currently maintained by Phillip Hirsch

Other

See Also