Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(SuSE / [http://www.opensuse.org OpenSUSE])
(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)
 
(285 intermediate revisions by 77 users not shown)
Line 1: Line 1:
= GNU/Linux =
+
{{Translations}}
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.
 
  
=== Arch Linux ===
+
<div class="tright"> __TOC__ </div>
* For the official pkg from [extra]: <code>pacman -S wesnoth</code>  
 
* dibblethewrecker also provides regular SVN snapshots.  Please see [[ http://dtw.jiwe.org/content.php?article.9 | here]] for details of how to access the repo.  As development of wesnoth continues this repo is likely to follow the unstable branch.
 
  
=== Debian ===
+
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.
* <code>apt-get install wesnoth</code> or
 
* <code>aptitude install wesnoth</code>
 
* [http://packages.debian.org/wesnoth Official packages]
 
* [http://debian.wesnoth.org/sarge Wesnoth 1.0 backport for Sarge]
 
===> about this backport, maybe an issue with an unresolvable dependancy, the "ttf-dejavu" package which is required but does not belong to sarge main archive. If someone could confirm ? [ 4 october 2005 ]
 
  
====> 8 October: adding
+
== Flatpak ==
  
deb http://ftp.tr.debian.org/debian/ unstable main
+
A flatpak of the current stable release can be found [https://flathub.org/apps/details/org.wesnoth.Wesnoth here].
deb-src http://ftp.tr.debian.org/debian/ unstable main
 
  
to /etc/apt/sources.list,
+
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].
  
Package: wesnoth
+
== Arch Linux ==
Pin: version 1.0-1sarge*
+
* The latest stable version can be installed from the [community] repository: <code>pacman -S wesnoth</code>
Pin-Priority: 1001
+
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].
 
Package: wesnoth-data
 
Pin: version 1.0-1sarge*
 
Pin-Priority: 1001
 
 
Package: *
 
Pin: release a=stable
 
Pin-Priority: 700
 
 
Package: *
 
Pin: release a=testing
 
Pin-Priority: 650
 
 
Package: *
 
Pin: release a=unstable
 
Pin-Priority: 600
 
  
to /etc/apt/preferences and then installing ttf-dejavu with
+
== 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.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, albeit only backported to stretch at this time. For more info on Debian backports, click [http://wiki.debian.org/Backports here].
  
  apt-get install -t unstable ttf-dejavu
+
===Command-line install===
 +
To install Wesnoth, run the following to pull in everything:
 +
  aptitude install wesnoth wesnoth-music
  
worked for me ;-)
+
===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 [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth] for more details.
If you want to install the latest Development version you may have to compile it yourself. See [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth].
 
  
'''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:
<code>aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev</code>
 
  
Remains one package : libintl which isn't in the Debian packages database, but I think you can install it by
+
# Stable version
 +
aptitude build-dep wesnoth
 +
# Development version
 +
aptitude build-dep wesnoth-1.14
  
<code>aptitude install gettext</code>
+
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:
  
If someone may confirm that ...
+
# Stable version
 +
aptitude purge wesnoth
 +
# Development version
 +
aptitude purge wesnoth-1.14
  
'''To compile it :'''
+
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].
If you have already installed and older version of wesnoth, uninstall it by :
 
  
<code>aptitude purge wesnoth</code>
+
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.
  
Note that will remove all your wesnoth configuration.
+
== Ubuntu ==
Then, download the source by wget, or your internet navigator. Save it in the /usr/src directory.
 
Now, it's very easy :
 
  
cd /usr/src
+
[http://apt.ubuntu.com/p/wesnoth Click here] to install the latest version of the <code>wesnoth</code> packaged for your release. Alternatively, search for "wesnoth" in the ''Ubuntu Software Center'' or use following command:
tar -xvzf wesnoth-1.x.x.tar.gz
 
cd wesnoth-1.x.x
 
./configure
 
make
 
make install
 
  
You may have more information about this part in the [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth] page.
+
sudo apt-get install wesnoth
  
=== Ubuntu ===
+
===Available Versions===
  
Battle for Wesnoth 1.0.1-1 is included in Ubuntu Dapper's universe collection. This is the latest stable release. As this is not the latest version, Breezy users will need to do one of the following to obtain the latest version:
+
Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth.
*Upgrade to the Dapper Drake, or
 
*Use the Breezy-Backports repository,
 
*Use an unofficial repository, or
 
*Build from the source per Debian above, or
 
*Use the generic binary for GNU/Linux found on the [[Download]] page.
 
  
Of these options, the final one is most likely the easiest at this time, while building from source is the most reliable.  
+
{| class="wikitable"
 +
|-
 +
! 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
 +
|}
  
See the [http://help.ubuntu.com/starterguide/C/faqguide-all.html#addinguniverse Ubuntu Starter Guide]'s section on adding the universe repositories.
+
Reference: https://packages.ubuntu.com/wesnoth
  
Do not attempt to install the debian package and associated dependencies using ''dpkg'' as you will break your environment!
+
== 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 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].
  
====Compiling====
+
To install from command-line, simply run:
If you choose to build the source you should add the a flag to ''configure'' to ensure your installation puts the data in the same place as the official installation path:
+
dnf install wesnoth wesnoth-tools wesnoth-server
  
cd /usr/src
+
== Gentoo ==
tar -xvzf wesnoth-1.x.x.tar.gz
+
To install the game only, run the following as root:
  cd wesnoth-1.x.x
+
  emerge wesnoth
./configure --datadir=/usr/share/games ...
 
make
 
sudo make install
 
  
=== Fedora Core ===
+
To install the game and the server, add 'server' to your USE flags, then run emerge as above.
Battle for Wesnoth is included in [http://fedoraproject.org/wiki/Extras/ Fedora Extras], which is enabled in Fedora Core 4 by default.
 
* <code>yum install wesnoth wesnoth-tools wesnoth-server</code>
 
* Wesnoth 1.0rc1: http://download.fedora.redhat.com/pub/fedora/linux/extras/
 
  
=== Gentoo ===
+
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.
* <code>emerge wesnoth</code>
 
  
=== klik ===
+
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:
* The most easy way to testdrive BfW is provided via [http://klik.atekon.de/ klik]. klik enables clients to create distribution-independent binaries which require no "installation" (the base system remains untouched); its created "AppDir" bundles run even from USB stick or CD RW. klik support is pre-enabled on Knoppix and Kanotix Live CDs. Other distros need to install a small klik client (less than 20 kByte download, less than 20 seconds effort).  See the [http://klik.atekon.de/wiki/index.php/User%27s_FAQ klik FAQ] for details. A [http://wesnoth.klik.atekon.de/ BfW-specific klik website] has links to help with the package. Once the klik client is installed, look at this:
 
** [http://wesnoth.klik.atekon.de/ Wesnoth-1.0] stable Version: to "klik" it, type ''klik://wesnoth'' into your Browser
 
** [http://wesnoth-latest.klik.atekon.de/ Wesnoth-1.1.1] Development-Version: to "klik" it, type ''klik://wesnoth-latest'' into your Browser
 
  
=== Mandrake (cooker) ===
+
games-strategy/wesnoth ~*
* <code>urpmi wesnoth</code>
 
* Binary: ftp://ftp.free.fr/pub/Distributions_Linux/Mandrakelinux/devel/cooker/i586/media/contrib/
 
* Source: ftp://ftp.free.fr/pub/Distributions_Linux/Mandrakelinux/devel/cooker/contrib/SRPMS/
 
  
=== Slackware 10.2 ===
+
The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project]
sorry but the 10.1 isn't out. Don't worry the 10.2 is here \o/  enjoy
 
* '''Wesnoth 1.0.2''': http://asteroid.celeonet.fr/wesnoth/
 
  
=== [[SuSE]] / [http://www.opensuse.org OpenSUSE] ===
+
== Mageia / Rosa Linux / OpenMandriva Lx ==
* Wesnoth 1.0 ([mailto:sven_AT_unixboard.de build on SuSE 9.3 & 10.0 by Sven Gawlik] hostet on [http://www.unixboard.de Unixboard.de]):
 
  
Links for SuSE 9.3 and 10.0 will be fixed soon ...
+
To install the latest stable version (as root):
(Currently rebuilding 1.0.2stable and 1.1.2adevel!)
 
  
** http://www.unixboard.de/suse/10/wesnoth-1.0-1.i386.rpm for [[SuSE]] 10.0
+
urpmi wesnoth
** http://www.unixboard.de/suse//wesnoth-1.0-1.i386.rpm for [[SuSE]] 9.3
 
  
 +
For the development version (Rosa Linux and OpenMandriva Lx only, as root):
  
* Wesnoth 0.9.4 (by Luciano Montanaro):
+
urpmi wesnoth-unstable
** http://www.cirulla.net/listing/suse-rpm/rpm/9.3/i586/wesnoth-0.9.4-9ml.i586.rpm (should work on [[SuSE]] 9.1 and 9.2 too)
 
** http://www.cirulla.net/listing/suse-rpm/rpm/9.3/i586/wesnoth-editor-0.9.4-9ml.i586.rpm (level editor)
 
** http://www.cirulla.net/listing/suse-rpm/rpm/9.3/i586/wesnoth-server-0.9.4-9ml.i586.rpm (game server)
 
** http://www.cirulla.net/listing/suse-rpm/rpm/9.3/src/wesnoth-0.9.4-9ml.src.rpm (source rpm)
 
  
* Wesnoth Binaries for [http://www.opensuse.org OpenSUSE] 10.0, [[SuSE]] Linux 9.3 and [[SuSE]] Linux 9.2, x86, ppc and x86_64. (by [[User:MadOssor|Holger Hetterich]] [mailto:ozzyATmetal-district.de] )  
+
You can also use the GUI package manager RPMDrake (in the Control Centre).
** http://81.169.140.126/rpm/wesnoth/ 
 
  
'''These packages are also usable as a YaST installation source, use the settings from the table below'''
+
To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:
  
{| border="1" cellpadding="2" cellspacing="0"
+
{|align="left" border="1"
! rowspan=2 | SUSE Release
+
!align="left"|Distribution
! rowspan=2 | Protocol
+
!align="left"|Repository for wesnoth
|-  
+
!align="left"|Repository for wesnoth-unstable
! SERVER || DIRECTORY/URL 
 
 
|-
 
|-
| [[SuSE]] Linux 9.2 x86/x86_64 || HTTP || 81.169.140.126 || rpm/wesnoth/9.2
+
|Rosa Linux Desktop / OpenMandriva Lx
 +
|contrib release
 +
|contrib updates
 
|-
 
|-
| [[SuSE]] Linux 9.3 x86/x86-64 || HTTP || 81.169.140.126 || rpm/wesnoth/9.3
+
|Rosa Linux LTS
 +
|contrib updates
 +
|contrib updates
 
|-
 
|-
| [[SuSE]] Linux 10.0 x86/x86_64/ppc / [http://www.opensuse.org OpenSUSE 10.0] || HTTP || 81.169.140.126 || rpm/wesnoth/10.0
+
|Mageia
|-
+
|core release
| Current [http://www.opensuse.org OpenSUSE] Development build x86/x86_64/ppc || HTTP || 81.169.140.126 || rpm/wesnoth/OpenSUSE-current
+
|N/A
 
|}
 
|}
 +
<!-- Begin Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
 +
 +
 +
 +
 +
 +
 +
 +
 +
<!-- End Carriage returns to keep the next entry from crashing into the Mandriva-based table -->
  
'''The OpenSUSE Development build is Wesnoth for the current OpenSUSE releases (aka 10.1)'''
+
==openSUSE==
  
=== Yoper Linux ===
+
These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures.
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
 
  
=== Binaries for all distributions ===
+
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].
* A distribution-independent binary (made with [http://oblisk.codu.org/ OBLISK]) for any somewhat modern GNU/Linux on i386 is available:
 
** [http://prdownloads.sourceforge.net/suparun/wesnoth-1.1.1-x86-Opkg.tar.gz?download wesnoth-1.1.1-x86-Opkg.tar.gz]
 
** [http://prdownloads.sourceforge.net/suparun/wesnoth-1.0.1-x86-Opkg.tar.gz?download wesnoth-1.0.1-x86-Opkg.tar.gz]  
 
** This is NOT a static binary distribution, it resolves dependencies at runtime.
 
* Wesnoth 0.8.8 static binary (by Yann): http://prdownloads.sourceforge.net/wesnoth/wesnoth-i386-static?download (needs the [http://prdownloads.sourceforge.net/wesnoth/wesnoth-0.8.tar.gz?download source tarball] for the data - run it with the path to the unpacked data as argument)
 
  
=== Other ===
+
===Install using One-Click Installation===
* [http://rpmfind.net/linux/rpm2html/search.php?query=wesnoth Search RPMs]
 
  
= See Also =
+
Use the correct link for your version of openSUSE:
* [[CompilingWesnoth]]
+
 
 +
* 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]
 +
 
 +
== 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:
 +
<code>xbps-install -S wesnoth</code>
 +
 
 +
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]
 +
 
 +
== See Also ==
 +
* [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth]
 
* [[Download]]
 
* [[Download]]
 +
 +
[[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.