Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
m (Compiling)
(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)
 
(71 intermediate revisions by 13 users not shown)
Line 1: Line 1:
Not all Distributions are always at the state of the current release. If you want to be sure to have the current version, please get the sources and compile it yourself.
+
{{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 [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 ==
* For the official pkg from [extra]: <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 [http://aur.archlinux.org/packages.php?ID=9600 AUR].
+
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].
  
 
== Debian ==
 
== Debian ==
* <code>aptitude install wesnoth</code><br/>(use <code>wesnoth-all</code> if you want to pull in all the campaigns and the editor, too)
+
* [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://packages.debian.org/wesnoth Official packages] including the development releases. You need to explicitly request which branch version of wesnoth you want, e.g. [http://packages.debian.org/wesnoth-1.8 1.8] (stable) or [http://packages.debian.org/wesnoth-1.10 1.10] (development)
+
* [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].
* [http://backports-master.debian.org/ backports.debian.org] offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 
  
===International language support===
+
===Command-line install===
Debian does not come with all locales. If you can't choose your language, you need to add locale for your lang.
+
To install Wesnoth, run the following to pull in everything:
see man locale.gen for more info.
+
aptitude install wesnoth wesnoth-music
quick guide for lenny: uncomment locales you want in /etc/locale.gen, then as root run "locale-gen".
 
  
 
===Compiling===
 
===Compiling===
  
If you want to play with the repository version directly you may have to compile it yourself. See [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth].
+
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 the dependencies:'''
+
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:
  
You can use a neat trick: Use the Build-Dependencies of the Debian package.
+
# Stable version
 +
aptitude build-dep wesnoth
 +
# Development version
 +
aptitude build-dep wesnoth-1.14
  
Just do an <code>aptitude build-dep wesnoth</code>. That will pull in most you need.
+
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:
  
'''To compile it:'''<br/>
+
# Stable version
If you have already installed an older version of wesnoth, uninstall it by:
+
aptitude purge wesnoth
 +
# Development version
 +
aptitude purge wesnoth-1.14
  
<code>aptitude purge wesnoth</code>
+
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].
  
Note that this will not remove downloaded data or savegames which are stored in your home directory in the folder <code>.wesnoth</code>. From this point on you can simply follow the advices from the [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth] page, no need to duplicate that informations in here. :)
+
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 ==
 
== Ubuntu ==
Line 47: Line 60:
 
! Packaged Version
 
! Packaged Version
 
|-
 
|-
| 12.04 (Precise)
+
| 22.04 LTS (Jammy)
| 1.10
+
| 1.16.2
 
|-
 
|-
| 11.10 (Oneiric)
+
| 21.10 (Impish)
| 1.8, and 1.10 with backports enabled
+
| 1.14.17
 
|-
 
|-
| 11.04 (Natty)
+
| 20.04 LTS (Focal)
| 1.8, and 1.10 with backports enabled
+
| 1.14.9
 
|-
 
|-
| 10.04 LTS (Lucid)
+
| 18.04 LTS (Bionic)
| 1.6, and 1.10 with backports enabled
+
| 1.12.6
 
|}
 
|}
  
===Repos with newer vesions===
+
Reference: https://packages.ubuntu.com/wesnoth
 
 
You can get the very latest version from the Software Center by enabling backports, [https://help.ubuntu.com/community/UbuntuBackports see here].
 
 
 
[http://www.playdeb.net/software/Battle%20for%20Wesnoth PlayDeb usually has the latest version very promptly, as well.]
 
 
 
If you are interested in the development version of wesnoth, you can get it from this PPA: [http://launchpad.net/~rhonda/+archive/wesnoth-devel ppa:rhonda/wesnoth-devel]
 
 
 
===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 is available for ppc, i386, and x86_64 architectures. If you have problems with these packages, or other questions, please contact the Fedora maintainer [mailto:limb_AT_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:
* <code>yum install wesnoth wesnoth-tools wesnoth-server</code>
+
dnf install wesnoth wesnoth-tools wesnoth-server  
  
 
== Gentoo ==
 
== Gentoo ==
For the stable release just type:
+
To install the game only, run the following as root:
* <code>emerge wesnoth</code>
+
emerge wesnoth
  
For the development release you will have to fetch an overlay, eg from this site:
+
To install the game and the server, add 'server' to your USE flags, then run emerge as above.
http://www.dorf.wh.uni-dortmund.de/priv/markus/wesnoth-dev.tbz
 
extract it to your local overlay-directory and then type
 
<code>emerge wesnoth-dev</code>
 
The ebuild will be updated whenever the person creating the ebuild finds the time to do so.
 
  
Or if you're too impatient to wait and willing to take the risk of things blowing up, download
+
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.
and extract the overlay, make a copy of the highest available ebuild version, but change the version number to
 
that of Wesnoth version you want (for instance, wesnoth-dev-1.3.2.ebuild might become
 
wesnoth-dev-1.3.8.ebuild ), run
 
<code>ebuild [new ebuild file] digest</code>
 
and then try to emerge. It may or may not work, depending on exactly how extensive the changes in the Wesnoth
 
source are--going from 1.3.2 to 1.3.8 this way worked for me.
 
There's an ebuild for 1.5.8 on Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=256513
 
  
For building from svn tree download the portage overlay from:
+
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:
http://www.dorf.wh.uni-dortmund.de/priv/markus/wesnoth-svn.tbz
 
extract it to your local overlay-directory and then type
 
<code>emerge wesnoth-svn</code>
 
  
wesnoth-dev are the official development releases
+
games-strategy/wesnoth ~*
while wesnoth-svn will build straight from SVN-source tree to keep you up to date with the lastest changes and all the errors ;-)
 
updating wesnoth-svn will not work ! you have to reemerge it each time you want to update !
 
  
Note: Neither wesnoth-dev nor wesnoth-svn seem to be maintained (as seen Nov 2009). The easiest way
+
The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project]
should be downloading the source and following the instructions to build wesnoth in the source directory
 
with cmake and as a normal user. Inside the source directory start with ''./wesnoth'', as opposed
 
to ''wesnoth'' from your portage tree.
 
  
== Mandriva / Rosa ==
+
== Mageia / Rosa Linux / OpenMandriva Lx ==
stable version: <code>urpmi wesnoth</code>
 
  
development version: <code>urpmi wesnoth-unstable</code>
+
To install the latest stable version (as root):
  
or use the GUI installer (in the Control Centre)
+
urpmi wesnoth
  
To install latest Battle for Wesnoth version in currently supported Mandriva releases you need to enable the contrib backports repo: you can do this in the Mandriva Control Centre.
+
For the development version (Rosa Linux and OpenMandriva Lx only, as root):
  
== Pardus ==
+
urpmi wesnoth-unstable
* 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>.
 
  
== Slackware ==
+
You can also use the GUI package manager RPMDrake (in the Control Centre).
  
* Slackbuilds for Battle for Wesnoth on Slackware 13 are for 1.6.5.  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.
+
To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:
  
* Packages of Battle for Wesnoth for Slackware 12.2 can be downloaded from [http://slacky.eu/aadm/pkgs/index.php?sear=wesnoth&ver=6 slacky.eu] Latest Wesnoth build: 1.6.3
+
{|align="left" border="1"
 +
!align="left"|Distribution
 +
!align="left"|Repository for wesnoth
 +
!align="left"|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
 +
|}
 +
<!-- Begin Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
  
* Building from source using SlackBuild script for Slackware 12.2 [http://slackbuilds.org/repository/12.2/games/wesnoth/ SlackBuilds.org] Latest Wesnoth build: 1.6.1 Note: Probably could be used for building newer 1.6.x version.
 
  
Note: Depends on boost package (+ icu package if you use binary from slacky.eu), so it should be installed before installing Battle for Wesnoth binary or compiling from source.
 
  
Install boost and icu binary from slacky.eu [http://slacky.eu/aadm/pkgs/index.php?sear=boost&ver=6 boost] [http://slacky.eu/aadm/pkgs/index.php?ver=6&sear=icu icu]
 
  
Compile boost from source using SlackBuild script [http://slackbuilds.org/repository/12.2/development/boost/ SlackBuilds.org]
 
  
* Installation:
 
  
Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command.
 
  
For example: #installpkg wesnoth-1.6.3-i486-1sl.tgz boost-1.39.0-i686-1as.tgz icu-3.6-i486-2sl.tgz
 
  
SlackBuild script: Consult SlackBuilds [http://slackbuilds.org/howto/ HOWTO]
+
<!-- End Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
  
== [http://www.opensuse.org 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.
  
For OpenSUSE 11.3 and higher, you can either use the following One-Click-Install links below, or run the following at the command line (replacing XX.X with your OpenSUSE version):
+
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].
$ sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_XX.X/ Games
 
$ sudo zypper ref
 
$ sudo zypper in wesnoth
 
  
For OpenSUSE 11.1 and 11.2, wesnoth can be installed from the command line using zypper (see below). It is strongly recommended that you enable the Evergreen repositories to provide any bug fixes and updates unavailable in the main repositories.
+
===Install using One-Click Installation===
  
If you have problems with these packages, or other questions, please contact [http://en.opensuse.org/User:Hhetter123 Holger Hetterich].
+
Use the correct link for your version of openSUSE:
  
 +
* 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]
  
* OpenSUSE Tumbleweed (rolling OpenSUSE release) [http://software.opensuse.org/ymp/games/openSUSE_Tumbleweed/wesnoth.ymp?base=openSUSE%3ATumbleweed&query=wesnoth One-Click-Install]
+
== Void Linux ==
* OpenSUSE Factory (preview of the next OpenSUSE release) [http://software.opensuse.org/ymp/games/openSUSE_Factory/wesnoth.ymp?base=openSUSE%3AFactory&query=wesnoth One-Click-Install]
 
* OpenSUSE 12.1 [http://software.opensuse.org/ymp/games/openSUSE_12.1/wesnoth.ymp?base=openSUSE%3A12.1&query=wesnoth One-Click-Install] v1.8.6
 
* OpenSUSE 11.4 [http://software.opensuse.org/ymp/games/openSUSE_11.4/wesnoth.ymp?base=openSUSE%3A11.4&query=wesnoth One-Click-Install] v1.8.6
 
* OpenSUSE 11.3 [http://software.opensuse.org/ymp/games/openSUSE_11.3/wesnoth.ymp?base=openSUSE%3A11.3&query=wesnoth One-Click-Install] v1.8.6
 
* OpenSUSE Evergreen 11.2, run the following for v1.4:
 
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.2.repo
 
$ sudo zypper ref
 
$ sudo zypper in wesnoth
 
* OpenSUSE Evergreen 11.1, run the following for v1.4:
 
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.1.repo
 
$ sudo zypper ref
 
$ sudo zypper in wesnoth
 
  
== Vine 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.
"wesnoth" rpm package for "Vine Linux 5" is using VLGothic font.
 
 
 
;Vine Linux 5.x
 
: VinePlus (plus category)
 
:* RPM package "wesnoth" is version 1.6.5.
 
:* RPM package "wesnoth147" is version 1.4.7.
 
;VineSeed (unstable)
 
:* RPM package "wesnoth" is version 1.8.x. always sync upstream!
 
:* RPM package "wesnoth16" is version 1.6.5.
 
  
 
To install simply run:
 
To install simply run:
* <code>apt-get install wesnoth</code>
+
<code>xbps-install -S wesnoth</code>
 
 
== Yoper Linux ==
 
All versions built for Yoper 2.2.0-6, although they should install on 2.1.
 
Please let kernowyon know via the Yoper forums if you get any problems
 
Latest 1.0.2 version
 
* http://yoperstuff.kernowyon.org.uk/rpms/wesnoth-1.0.2-1.i686.rpm
 
1.0.1 version
 
* http://yoperstuff.kernowyon.org.uk/rpms/wesnoth-1.0-1.i686.rpm
 
Earlier version
 
*http://yoperstuff.kernowyon.org.uk/rpms/wesnoth-0.9.7-1.i686.rpm
 
  
== Other ==
+
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]
* [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.