|
|
(135 intermediate revisions by 37 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.
| |
| | | |
− | === Ark Linux ===
| + | 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. |
− | * Ark Linux includes an official wesnoth package, currently at version 1.7.0. Simply use the package installation tool to install the wesnoth package, or run <code>apt-get update; apt-get install wesnoth</code> (or <code>apt-get -t dockyard-devel install wesnoth</code> if you wish to run the current development version of wesnoth with all other packages from the stable tree)
| |
− | * Users of other similar distributions can download the packages at [http://arklinux.osuosl.org/dockyard-devel the Ark Linux file server]. They are likely to run on any rpm based distribution that uses a recent version of gcc (>= 4.0) and glibc (>= 2.4).
| |
| | | |
− | === Debian === | + | == Flatpak == |
− | * <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 in the experimental branch
| |
− | * [http://backports.org/ backports.org] offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
| |
| | | |
− | ====International langugage support====
| + | A flatpak of the current stable release can be found [https://flathub.org/apps/details/org.wesnoth.Wesnoth here]. |
− | Debian does not come with all locales. If you can't choose your language, you need to add locale for your lang.
| |
− | see man locale.gen for more info.
| |
− | quick guide for lenny: uncomment locales you want in /etc/locale.gen, then as root run "locale-gen".
| |
| | | |
− | ====Compiling==== | + | 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]. |
| | | |
− | If you want to play with the SVN version directly you may have to compile it yourself. See [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth].
| + | == Arch Linux == |
| + | * 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-devel/ the AUR]. |
| | | |
− | '''To install the dependencies:'''
| + | == 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]. |
| | | |
− | You can use a neat trick: Use the Build-Dependencies of the Debian package.
| + | ===Command-line install=== |
| + | To install Wesnoth, run the following to pull in everything: |
| + | aptitude install wesnoth wesnoth-music |
| | | |
− | Just do an <code>aptitude build-dep wesnoth</code>. That will pull in most you need. As of 1.4 stable wesnoth, the dependencies also include all of the "Boost" libraries, if you are using Debian stable/etch sources.list you need to also <code>aptitude install libboost-iostreams-dev libboost-test-dev</code>.
| + | ===Compiling=== |
| | | |
− | '''To compile it:'''<br/>
| + | 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 have already installed an older version of wesnoth, uninstall it by: | |
| | | |
− | <code>aptitude purge wesnoth</code> | + | 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: |
| | | |
− | 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. :)
| + | # Stable version |
| + | aptitude build-dep wesnoth |
| + | # Development version |
| + | aptitude build-dep wesnoth-1.14 |
| | | |
− | === Ubuntu ===
| + | '''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running: |
| | | |
− | ==== Jaunty ====
| + | # Stable version |
| + | aptitude purge wesnoth |
| + | # Development version |
| + | aptitude purge wesnoth-1.14 |
| | | |
− | 9.04's universe repository includes version 1.6a
| + | Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]]. |
| | | |
− | You can install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.
| + | 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. |
| | | |
− | For '''current unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
| + | == Ubuntu == |
| | | |
− | =====Adding the itwesnoth repository=====
| + | [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: |
− | To add the repository, add the following to /etc/apt/sources.list:
| |
| | | |
− | deb http://download.tuxfamily.org/itwesnoth/debian/ binary/ | + | sudo apt-get install wesnoth |
− | deb-src http://download.tuxfamily.org/itwesnoth/debian/ sources/
| |
| | | |
− | '''Please notice''' that this repository is an unofficial one and might result in different problems. As an example, the "unstable" packages don't contain the lua scripts needed for some scenarios.
| + | ===Available Versions=== |
| | | |
− | ====Intrepid====
| + | Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth. |
| | | |
− | 8.10's universe repository includes version 1.4.5.
| + | {| 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 |
| + | |} |
| | | |
− | You can install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.
| + | Reference: https://packages.ubuntu.com/wesnoth |
| | | |
− | Updated versions can be found in [http://www.getdeb.net/app.php?name=The+Battle+for+Wesnoth GetDeb.net].
| + | == 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]. |
| | | |
− | For '''unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
| + | To install from command-line, simply run: |
| + | dnf install wesnoth wesnoth-tools wesnoth-server |
| | | |
− | ====Hardy==== | + | == Gentoo == |
| + | To install the game only, run the following as root: |
| + | emerge wesnoth |
| | | |
− | * 8.04's (hardy) universe repository includes version 1.4.
| + | To install the game and the server, add 'server' to your USE flags, then run emerge as above. |
− | * 8.04's (hardy-backports) universe repository includes version 1.4.4.
| |
| | | |
− | See the [http://ubuntuguide.org/wiki/Ubuntu:Gutsy#How_to_add_extra_repositories Ubuntu Starter Guide]'s section on adding the universe repositories.
| + | Note: Gentoo currently operates as a rolling-release, updated approximately weekly. |
− | Install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.
| |
| | | |
− | Updated versions can be found in [http://www.getdeb.net/app.php?name=The+Battle+for+Wesnoth GetDeb.net].
| + | To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command: |
| | | |
− | ====Dapper====
| + | games-strategy/wesnoth ~* |
| | | |
− | 6.06's universe repository includes version 1.0.2.
| + | The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project] |
| | | |
− | This is the (really old) stable release of the 1.0.x series. As this is not the latest version, Dapper users will need to do one of the following to obtain the latest version:
| + | == Mageia / Rosa Linux / OpenMandriva Lx == |
− | *Upgrade to a later version of Ubuntu, or
| |
− | *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.
| |
| | | |
− | ====Compiling====
| + | To install the latest stable version (as root): |
− | If you choose to build the 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 | + | urpmi wesnoth |
− | tar -xvzf wesnoth-1.x.x.tar.gz
| |
− | cd wesnoth-1.x.x
| |
− | ./configure --datadir=/usr/share/games ...
| |
− | make
| |
− | sudo make install
| |
| | | |
− | ==== International language support ====
| + | For the development version (Rosa Linux and OpenMandriva Lx only, as root): |
| | | |
− | If you want to use Wesnoth with a language that is not supported by your system, you have at least two options:
| + | urpmi wesnoth-unstable |
| | | |
− | From Wesnoth version 1.6 onwards you can start Wesnoth with the flag <code>--dummy-locales</code> to enable all languages, even if they are not supported by your system.
| + | You can also use the GUI package manager RPMDrake (in the Control Centre). |
| | | |
− | For older versions of Wesnoth you’ll have to enable the language on your own system first. Look in the file <code>/usr/share/i18n/SUPPORTED</code> for a line with an ISO language code matching what you want. Append that line to <code>/var/lib/locales/supported.d/local</code>, then run <code>sudo dpkg-reconfigure locales</code>. You should now be able to select that language from the language selector in Wesnoth.
| + | To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre: |
| | | |
− | === Fedora === | + | {|align="left" border="1" |
− | Battle for Wesnoth is included in [http://fedoraproject.org/ 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].
| + | !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 --> |
| | | |
− | To install simply run:
| |
− | * <code>yum install wesnoth wesnoth-tools wesnoth-server</code>
| |
| | | |
− | === Gentoo ===
| |
− | For the stable release just type:
| |
− | * <code>emerge wesnoth</code>
| |
| | | |
− | For the development release you will have to fetch an overlay, eg from this site:
| |
− | 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
| |
− | 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:
| |
− | 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
| |
− | 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 !
| |
| | | |
− | === KateOS ===
| |
− | Currently Battle for Wesnoth v1.4 is available in offcial KateOS repo (testing for now)
| |
− | [http://www.kateos.org/download/packages/testing3/]
| |
| | | |
− | === klik ===
| + | <!-- End Carriage returns to keep the next entry from crashing into the Mandriva-based table --> |
− | 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] ancient stable Version: to "klik" it, type ''klik://wesnoth'' into your Browser
| |
− | * [http://wesnoth-latest.klik.atekon.de/ Wesnoth-1.1.1] ancient Development-Version: to "klik" it, type ''klik://wesnoth-latest'' into your Browser
| |
| | | |
− | === Mandrake (cooker) === | + | ==openSUSE== |
− | * <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/
| |
| | | |
− | === Pardus ===
| + | These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures. |
− | * 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 ===
| + | The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors]. |
| | | |
− | * 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
| + | ===Install using One-Click Installation=== |
| | | |
− | * 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.
| + | Use the correct link for your version of openSUSE: |
| | | |
− | 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.
| + | * 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] |
| | | |
− | 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]
| + | == Void Linux == |
| | | |
− | Compile boost from source using SlackBuild script [http://slackbuilds.org/repository/12.2/development/boost/ SlackBuilds.org]
| + | Void Linux is another rolling release distribution, utilizing its own package manager. |
| + | The current version is available for x86, x86_64, armv6, and armv7. |
| | | |
− | * Installation:
| + | To install simply run: |
− | | + | <code>xbps-install -S wesnoth</code> |
− | 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]
| |
− | | |
− | === [[SuSE]] / [http://www.opensuse.org OpenSUSE] ===
| |
− | | |
− | These are builds of The Battle For Wesnoth for several SUSE Linux distributions, made for both i386 and x86_64 architecture. On SUSE Linux 10.1 and above, as well as on SLED, just use the zen-updater and add these directories to your available services (as ZYPP). On 10.0 and older, you can use YaST to add the installation sources. On OpenSUSE 10.3 or higher, just use 1-click Install.
| |
− | | |
− | If you have problems with these packages, or other questions, please contact [http://en.opensuse.org/User:Hhetter123 Holger Hetterich].
| |
− | | |
− | | |
− | * OpenSUSE 11.1 [http://software.opensuse.org/search?baseproject=openSUSE%3A11.1&p=1&q=wesnoth One-Click-Install]
| |
− | * OpenSUSE 11 [http://software.opensuse.org/search?baseproject=openSUSE%3A11.0&p=1&q=wesnoth One-Click-Install]
| |
− | * OpenSUSE 10.3 [http://software.opensuse.org/search?p=1&baseproject=openSUSE%3A10.3&q=wesnoth One-Click-Install]
| |
− | * SUSE Linux 10.1 http://software.opensuse.org/download/games:/strategy:/turn-based/SUSE_Linux_10.1/
| |
− | * OpenSUSE Linux 10.2 http://software.opensuse.org/download/games:/strategy:/turn-based/openSUSE_10.2/
| |
− | * OpenSUSE Factory [http://software.opensuse.org/search?baseproject=openSUSE%3AFactory&p=1&q=wesnoth One-Click-Install]
| |
− | * SLED 10 (SUSE Linux Enterprise Desktop) requires an additional installation source including common required packages SLED is missing. First add http://software.opensuse.org/download/SUSE:/SLE-10:/SDK:/Extra/SLE_10/ , then add http://software.opensuse.org/download/games:/strategy:/turn-based/SLED10_SDK_Extras/ to your installation sources.
| |
− | | |
− | === Xandros Linux ===
| |
− | | |
− | *This disto for wesnoth-1.1.1 works well with Xandros 3
| |
− | | |
− | * 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
| |
− | | |
− | *Here is a disto for version .7 that works with Xandros
| |
− | ** http://support.xandros.com/downloads/desktop_2.0/user_contrib/boylinux/binary-i386/wesnoth_0.7-1_i386.deb
| |
− | | |
− | *Xandros 3 has the distro for wesnoth .9 available through Xandros Networks
| |
− | | |
− | === 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
| |
− | | |
− | === Binaries for all distributions ===
| |
− | * 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 ===
| + | The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch] |
− | * [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]] |
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