From The Battle for Wesnoth Wiki
Revision as of 05:11, 26 July 2020 by BiafraRepublic (talk | contribs) (Routine maintenance)

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, either get the sources from the Download page and compile them yourself or use the nightly flatpak below.


A nightly flatpak of Wesnoth's development branch is available. Instructions for getting it can be found here.

A flatpak of the current stable release(1.14) is also available here.

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.


  • Official packages including the development releases. If you want a different version, you need to explicitly request which branch you want, e.g. 1.12 (stretch), or 1.14 (buster, bullseye, and sid)
  • backports.debian.org offers the latest stable wesnoth releases, albeit only backported to stretch at this time. For more info on Debian backports, click here.

Command-line install

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

aptitude install wesnoth wesnoth-music


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.14

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.14

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


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
20.04 LTS (Focal) 1.14.9
19.10 (Eoan) 1.14.7
19.04 (Disco) 1.14.6
18.10 (Cosmic) 1.14.4
18.04 LTS (Bionic) 1.12.6
16.04 LTS (Xenial) 1.12.5

Repos with newer vesions

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

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

Another alternative is ppa:vincent-c/wesnoth.


Battle for Wesnoth is included in Fedora. The current version of Battle for Wesnoth is available for ARMv7HL, AArch64, ppc64le, s390x, x86, and x86_64 architectures. If you have problems with these packages, or other questions, please contact the Fedora maintainer Kalev Lember.

To install from command-line, simply run:

dnf install wesnoth wesnoth-tools wesnoth-server 


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.

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


  • 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


  • 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


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_15.0' with your OpenSUSE version):

sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_Leap_15.0/ 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 is available for x86, x86_64, armv6, and armv7.

To install simply run: xbps-install -S wesnoth

The build is currently maintained by Phillip Hirsch


See Also