Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Flatpak)
(The twice-yearly page maintenance has now commenced. Brace yourselves.)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Translations}}
 
{{Translations}}
 +
 +
<div class="tright"> __TOC__ </div>
  
 
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.
 
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.
Line 10: Line 12:
 
== Arch Linux ==
 
== Arch Linux ==
 
* The latest stable version can be installed from the [community] repository: <code>pacman -S wesnoth</code>  
 
* The latest stable version can be installed from the [community] repository: <code>pacman -S wesnoth</code>  
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-git/ the AUR].
+
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].
  
 
== Debian ==
 
== Debian ==
* [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] (jessie)[http://packages.debian.org/wesnoth-1.12 1.12] (jstretch), or [http://packages.debian.org/wesnoth-1.14 1.14] (buster and sid)
 
* [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 information.
  
Line 40: Line 42:
 
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].
 
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].
  
== SteamOS ==
+
== Steam client for Linux and 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. [http://steamcommunity.com/groups/steamuniverse/discussions/1/648814396114274132/ Click here] for directions. After they are enabled, run the following as root to install wesnoth to use in Desktop mode:
+
 
 +
Previously, installing Battle for Wesnoth on SteamOS was similar to doing so on Debian (as SteamOS is largely based on Debian) albeit with a few extra steps to enable the Debian repositories in SteamOS.
 +
 
 +
Now, Wesnoth is now available on SteamOS and the Steam client for Linux. [https://store.steampowered.com/app/599390/Battle_for_Wesnoth/ Click here] to go to the store page in your browser.
 +
 
 +
<!--[http://steamcommunity.com/groups/steamuniverse/discussions/1/648814396114274132/ Click here] for directions. After enabling them, one had to run the following as root to install wesnoth to use in Desktop mode:
 
  aptitude install wesnoth wesnoth-music
 
  aptitude install wesnoth wesnoth-music
  
To add a shortcut to launch wesnoth in Big Picture mode, open the Steam client in Desktop mode and [https://support.steampowered.com/kb_article.php?ref=2219-YDJV-5557 follow these instructions]. Then close the client and switch back to using Big Picture and it will be under Games.
+
Also, in order to add a shortcut to launch wesnoth in Big Picture mode, one had to open the Steam client in Desktop mode and [https://support.steampowered.com/kb_article.php?ref=2219-YDJV-5557 follow these instructions] before closing the client and switching back to using Big Picture mode, where it was found under Games.
  
 
'''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 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]
+
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 65: Line 72:
 
! Release
 
! Release
 
! Packaged Version
 
! Packaged Version
 +
|-
 +
| 19.04 (Disco)
 +
| 1.14.6
 +
|-
 +
| 18.10 (Cosmic)
 +
| 1.14.4
 
|-
 
|-
 
| 18.04 LTS (Bionic)
 
| 18.04 LTS (Bionic)
| 1.12.6
 
|-
 
| 17.10 (Artful)
 
 
| 1.12.6
 
| 1.12.6
 
|-
 
|-
 
| 16.04 LTS (Xenial)
 
| 16.04 LTS (Xenial)
 
| 1.12.5
 
| 1.12.5
|-
 
| 14.04 LTS (Trusty)
 
| 1.10.7
 
 
|}
 
|}
  
Line 82: Line 89:
  
 
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]
 
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]
 
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].
 
  
 
Another alternative is [https://launchpad.net/~vincent-c/+archive/ubuntu/wesnoth ppa:vincent-c/wesnoth].
 
Another alternative is [https://launchpad.net/~vincent-c/+archive/ubuntu/wesnoth 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 ==
 
== Fedora ==
Battle for Wesnoth is included in [http://koji.fedoraproject.org/koji/packageinfo?packageID=4097 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 [mailto:limb@jcomserv.net Jon Ciesla].
+
Battle for Wesnoth is included in [http://koji.fedoraproject.org/koji/packageinfo?packageID=4097 Fedora].  The current version of Battle for Wesnoth 1.14.7 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 [mailto:klember@redhat.com Kalev Lember].
  
 
To install simply run:
 
To install simply run:
Line 113: Line 108:
 
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 ppc64.
+
The latest version available is 1.14.7
  
 
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 213: Line 208:
  
 
* OpenSUSE Tumbleweed (rolling preview release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp?base=openSUSE%3AFactory&query=wesnoth One-Click-Install]
 
* OpenSUSE Tumbleweed (rolling preview release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp?base=openSUSE%3AFactory&query=wesnoth One-Click-Install]
 +
* OpenSUSE Leap 15.0 [https://software.opensuse.org/ymp/openSUSE:Leap:15.0/standard/wesnoth.ymp?base=openSUSE%3ALeap%3A15.0&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.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]
+
 
  
 
===Install using the command-line===
 
===Install using the command-line===
  
You can also install wesnoth using Zypper the command line (replacing '_Leap_42.2' with your OpenSUSE version):
+
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_42.2/ Games
+
  <code>sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_Leap_15.0/ Games
 
  sudo zypper ref
 
  sudo zypper ref
  sudo zypper in wesnoth
+
  sudo zypper in wesnoth</code>
  
  

Revision as of 19:44, 2 May 2019


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.

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.

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.

Steam client for Linux and SteamOS

Previously, installing Battle for Wesnoth on SteamOS was similar to doing so on Debian (as SteamOS is largely based on Debian) albeit with a few extra steps to enable the Debian repositories in SteamOS.

Now, Wesnoth is now available on SteamOS and the Steam client for Linux. Click here to go to the store page in your browser.


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

Fedora

Battle for Wesnoth is included in Fedora. The current version of Battle for Wesnoth 1.14.7 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 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 available is 1.14.7

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