Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Wesnoth hasn't required locales to be enabled system-wide anymore for at least two series)
m (Available Versions on Ubuntu)
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{WesnothBinariesLinux/Translations}}
+
{{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 [[CompilingWesnoth|compile them youself]].
+
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 [[CompilingWesnoth|compile them youself]] or use the nightly flatpak below.
 +
 
 +
== Flatpak ==
 +
A nightly flatpak of Wesnoth's development branch is available.  Instructions for getting it can be found [https://forums.wesnoth.org/viewtopic.php?f=5&t=47872 here].
  
 
== Arch Linux ==
 
== Arch Linux ==
Line 8: Line 11:
  
 
== Debian ==
 
== Debian ==
<!-- Do not remove until Debian 9 releases in June
+
* [http://packages.debian.org/wesnoth Official packages] including the development releases. If you want a different version, you need to explicitly request which branch you want, e.g. [http://packages.debian.org/wesnoth-1.10 1.10] (wheezy and jessie) or [http://packages.debian.org/wesnoth-1.12 1.12] (stretch, buster, and sid)
* [http://packages.debian.org/wesnoth Official packages] including the development releases. If you want a different version, you need to explicitly request which branch you want, e.g. [http://packages.debian.org/wesnoth-1.10 1.10] (stable and oldstable) or [http://packages.debian.org/wesnoth-1.12 1.12] (development, for testing and unstable only)
+
* [http://backports-master.debian.org/ backports.debian.org] offers the latest stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more information.
* [http://backports-master.debian.org/ backports.debian.org] offers the latest stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 
Do not remove until Debian 9 releases in June  -->
 
<!-- Delete everything from this comment to the next after Debian 9 release -->
 
* [http://packages.debian.org/wesnoth Official packages] including the development releases. If you want a different version, you need to explicitly request which branch you want, e.g. [http://packages.debian.org/wesnoth-1.10 1.10] (stable and oldstable) or [http://packages.debian.org/wesnoth-1.12 1.12] (development, for testing and unstable only)
 
* [http://backports-master.debian.org/ backports.debian.org] offers the latest stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 
<!-- STOP Deleting things after this comment -->
 
  
 
===Command-line install===
 
===Command-line install===
Line 49: Line 46:
 
'''Note:''' You will need to enable access to the desktop in SteamOS to add the Debian repositories to SteamOS. [https://steamcommunity.com/groups/steamuniverse/discussions/1/648814395741989999/ Click here] and scroll down to the heading "How do I get to the desktop on SteamOS? All I see is Steam." for instructions
 
'''Note:''' You will need to enable access to the desktop in SteamOS to add the Debian repositories to SteamOS. [https://steamcommunity.com/groups/steamuniverse/discussions/1/648814395741989999/ 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 [https://steamcommunity.com/sharedfiles/filedetails/?id=729138129 here]
+
Steam has greenlit Battle for Wesnoth on its platform prior to the end of Steam Greenlight, 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 [https://steamcommunity.com/sharedfiles/filedetails/?id=729138129 here]
 
<!-- Note that this will (probably) become obsolete with 1.14, as Wesnoth has been Greenlit. Update if and when the release to Steam occurs, as it is likely going to be a SteamPlay title. -->
 
<!-- Note that this will (probably) become obsolete with 1.14, as Wesnoth has been Greenlit. Update if and when the release to Steam occurs, as it is likely going to be a SteamPlay title. -->
  
Line 67: Line 64:
 
! Packaged Version
 
! Packaged Version
 
|-
 
|-
| 16.10 (Zesty)
+
| 18.04 LTS (Bionic)
 
| 1.12.6
 
| 1.12.6
 
|-
 
|-
| 16.10 (Yakkety)
+
| 17.10 (Artful)
 
| 1.12.6
 
| 1.12.6
 
|-
 
|-
Line 83: Line 80:
  
 
You can get a more up-to-date version from the Software Center by enabling backports, [https://help.ubuntu.com/community/UbuntuBackports see here].
 
You can get a more up-to-date version from the Software Center by enabling backports, [https://help.ubuntu.com/community/UbuntuBackports see here].
 +
If you are interested in the development version of wesnoth, you can get it from this PPA: [https://launchpad.net/~pkg-games/+archive/ubuntu/wesnoth-devel ppa:pkg-games/wesnoth-devel]
  
[http://www.playdeb.net/software/Battle%20for%20Wesnoth PlayDeb might have newer versions, as well.]
+
Backports from more recent ubuntu releases (or debian-expirmental for the development branch) are provided by the c42-backport-games PPA: [https://launchpad.net/~dirk-computer42/+archive/c42-backport-games ppa:dirk-computer42/c42-backport-games].
 
 
Almost up-to-date versions are available in this [https://launchpad.net/~vincent-c/+archive/ubuntu/wesnoth PPA]
 
 
 
If you are interested in the development version of wesnoth, you can get it from this PPA: [https://launchpad.net/~pkg-games/+archive/ubuntu/wesnoth-devel ppa:pkg-games/wesnoth-devel]
 
  
Another alternative with backports, especially wesnoth 1.11 from debian is c42-backport-games PPA: [http://launchpad.net/~dirk-computer42/+archive/c42-backport-games 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 [http://www.computer42.org/xwiki-static/exported/DevNotes/xwiki.DevNotes.c42-ppa.html] for more informations.
+
Another alternative is [https://launchpad.net/~vincent-c/+archive/ubuntu/wesnoth ppa:vincent-c/wesnoth].
  
 
===Compiling===
 
===Compiling===
Line 117: Line 111:
 
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.
 
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.
+
The latest version marked stable is 1.12.6 for amd64 and x86. Only builds marked for testing are available for 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:
 
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:
Line 219: Line 213:
 
* OpenSUSE Leap 42.3 [https://software.opensuse.org/ymp/openSUSE:Leap:42.3/standard/wesnoth.ymp?base=openSUSE%3ALeap%3A42.3&query=wesnoth One-Click-Install]
 
* OpenSUSE Leap 42.3 [https://software.opensuse.org/ymp/openSUSE:Leap:42.3/standard/wesnoth.ymp?base=openSUSE%3ALeap%3A42.3&query=wesnoth One-Click-Install]
 
* OpenSUSE Leap 42.2 [https://software.opensuse.org/ymp/games/openSUSE_Leap_42.2/wesnoth.ymp?base=openSUSE%3ALeap%3A42.2&query=wesnoth One-Click-Install]
 
* OpenSUSE Leap 42.2 [https://software.opensuse.org/ymp/games/openSUSE_Leap_42.2/wesnoth.ymp?base=openSUSE%3ALeap%3A42.2&query=wesnoth One-Click-Install]
* OpenSUSE Leap 42.1 [https://software.opensuse.org/ymp/games/openSUSE_Leap_42.1/wesnoth.ymp?base=openSUSE%3ALeap%3A42.1&query=wesnoth One-Click-Install]
 
 
  
 
===Install using the command-line===
 
===Install using the command-line===

Revision as of 18:50, 3 March 2018


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 youself or use the nightly flatpak below.

Flatpak

A nightly flatpak of Wesnoth's development branch is available. Instructions for getting it can be found 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.

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 prior to the end of Steam Greenlight, 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
18.04 LTS (Bionic) 1.12.6
17.10 (Artful) 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. If you are interested in the development version of wesnoth, you can get it from this PPA: ppa:pkg-games/wesnoth-devel

Backports from more recent ubuntu releases (or debian-expirmental for the development branch) are provided by the c42-backport-games PPA: ppa:dirk-computer42/c42-backport-games.

Another alternative is ppa:vincent-c/wesnoth.

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