Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Fall distro updates, pruning EOL versions, adding new stable versions, etc., etc., etc.)
(Flatpak: Switch the order of the links. People are more likely to click the first link, probably want the stable version, and may not know what "nightly" means)
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{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]].
+
<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 [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md compile them yourself] or use the flatpak below.
 +
 
 +
== Flatpak ==
 +
 
 +
A flatpak of the current stable release can be found [https://flathub.org/apps/details/org.wesnoth.Wesnoth here].
 +
 
 +
A nightly flatpak of Wesnoth's development branch is also available.  Instructions for getting it can be found [https://forums.wesnoth.org/viewtopic.php?f=5&t=47872 here].
  
 
== 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.12 1.12] (stretch), or [http://packages.debian.org/wesnoth-1.14 1.14] (buster, bullseye, 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, albeit only backported to stretch at this time. For more info on Debian backports, click [http://wiki.debian.org/Backports here].
  
 
===Command-line install===
 
===Command-line install===
Line 17: Line 25:
 
===Compiling===
 
===Compiling===
  
If you want to run a newer release than the ones provided in the Debian repositories, or an unreleased version from the [[WesnothRepository|Git repository]], you will have to build it from source. See [[CompilingWesnoth|Compiling Wesnoth]] for more details.
+
If you want to run a newer release than the ones provided in the Debian repositories, or an unreleased version from the [[WesnothRepository|Git repository]], you will have to build it from source. See [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md 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 <code>build-dep</code> command with the package that best matches the version you are trying to build:
 
To install Wesnoth's dependencies if you have Debian's source repositories enabled in your config, you can just use apt's <code>build-dep</code> command with the package that best matches the version you are trying to build:
Line 24: Line 32:
 
  aptitude build-dep wesnoth
 
  aptitude build-dep wesnoth
 
  # Development version
 
  # Development version
  aptitude build-dep wesnoth-1.13
+
  aptitude build-dep wesnoth-1.14
  
 
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:
 
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:
Line 31: Line 39:
 
  aptitude purge wesnoth
 
  aptitude purge wesnoth
 
  # Development version
 
  # Development version
  aptitude purge wesnoth-1.13
+
  aptitude purge wesnoth-1.14
  
 
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 ==
+
Additionally, build-dep will not install libssl-dev automatically due to a Debian patch to use WolfSSL instead due to a licence incompatibility with OpenSSL, so you will need to install that manually. This will likely be resolved within the next couple of years once OpenSSL 3 comes into use since that version will resolve the license incompatibility.
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:
 
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.
 
 
 
'''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]
 
<!-- 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. -->
 
  
 
== Ubuntu ==
 
== Ubuntu ==
Line 61: Line 60:
 
! Packaged Version
 
! Packaged Version
 
|-
 
|-
| 17.10 (Artful)
+
| 22.04 LTS (Jammy)
| 1.12.6
+
| 1.16.2
 
|-
 
|-
| 17.04 (Zesty)
+
| 21.10 (Impish)
| 1.12.6
+
| 1.14.17
 
|-
 
|-
| 16.04 LTS (Xenial)
+
| 20.04 LTS (Focal)
| 1.12.5
+
| 1.14.9
 
|-
 
|-
| 14.04 LTS (Trusty)
+
| 18.04 LTS (Bionic)
| 1.10.7
+
| 1.12.6
 
|}
 
|}
  
===Repos with newer vesions===
+
Reference: https://packages.ubuntu.com/wesnoth
 
 
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]
 
 
 
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].
 
 
 
===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 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 from command-line, simply run:
  yum install wesnoth wesnoth-tools wesnoth-server  
+
  dnf install wesnoth wesnoth-tools wesnoth-server  
  
 
== Gentoo ==
 
== Gentoo ==
Line 107: Line 88:
  
 
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.
 
  
 
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 147: Line 126:
 
|N/A
 
|N/A
 
|}
 
|}
<!-- Begin Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table -->
+
<!-- Begin Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<!-- End Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table -->
 
== 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 <code>pisi it wesnoth</code>.
 
===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 <code>apt-get install wesnoth wesnoth-music</code>.
 
 
 
== 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 <code>sudo apt-get install wesnoth</code>
 
* 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 [http://www.slacky.eu/asche/pkgs/index.php?pkg=3920&ver=17 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 [http://slackbuilds.org/result/?search=wesnoth&sv= 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 [http://slackbuilds.org/howto/ HOWTO] and compile
 
  
===Installation for SalixOS===
 
  
Run the following to get the latest version:
+
<!-- End Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
slapt-get --install wesnoth
 
  
==OpenSUSE==
+
==openSUSE==
  
These are builds of The Battle For Wesnoth for several versions of OpenSUSE, made for both i386 and x86_64 architecture.
+
These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures.
  
The OpenSUSE packages were packaged by [http://en.opensuse.org/User:Hhetter123 Holger Hetterich].
+
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].
  
 
===Install using One-Click Installation===
 
===Install using One-Click Installation===
  
Use the correct link for your version of OpenSUSE:
+
Use the correct link for your version of openSUSE:
 
 
* 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 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===
+
* openSUSE Tumbleweed (rolling release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp One-Click Install]
 
+
* openSUSE Leap 15.3 (fixed release) [https://software.opensuse.org/ymp/openSUSE:Backports:SLE-15-SP3/standard/wesnoth.ymp One-Click Install]
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:
 
<code>apt-get install wesnoth</code>
 
  
 
== Void Linux ==
 
== Void Linux ==
  
 
Void Linux is another rolling release distribution, utilizing its own package manager.
 
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.
+
The current version is available for x86, x86_64, armv6, and armv7.
  
 
To install simply run:
 
To install simply run:
Line 237: Line 159:
  
 
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]
 
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]
 
== Other ==
 
* [http://ftp.osuosl.org/pub/manulix/wesnoth-bin-powerpc/ GNU/Linux PowerPC binaries]
 
* [http://rpmfind.net/linux/rpm2html/search.php?query=wesnoth Search RPMs]
 
  
 
== See Also ==
 
== See Also ==
* [[CompilingWesnoth]]
+
* [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth]
 
* [[Download]]
 
* [[Download]]
  
 
[[Category:Building and Installing]]
 
[[Category:Building and Installing]]

Latest revision as of 12:47, 26 August 2022


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

Flatpak

A flatpak of the current stable release can be found here.

A nightly flatpak of Wesnoth's development branch is also 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

  • 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

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

Additionally, build-dep will not install libssl-dev automatically due to a Debian patch to use WolfSSL instead due to a licence incompatibility with OpenSSL, so you will need to install that manually. This will likely be resolved within the next couple of years once OpenSSL 3 comes into use since that version will resolve the license incompatibility.

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
22.04 LTS (Jammy) 1.16.2
21.10 (Impish) 1.14.17
20.04 LTS (Focal) 1.14.9
18.04 LTS (Bionic) 1.12.6

Reference: https://packages.ubuntu.com/wesnoth

Fedora

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 

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.

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





openSUSE

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

The openSUSE packages are maintained by multiple contributors.

Install using One-Click Installation

Use the correct link for your version of openSUSE:

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

This page was last edited on 26 August 2022, at 12:47.