Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Compiling)
Line 42: 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]].
  
<!-- == Steam client for Linux and 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.
 
 
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
 
 
 
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
 
 
 
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 ==

Revision as of 06:46, 19 December 2020


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.

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

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

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

The OpenSUSE packages were packaged by Holger Hetterich.

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