<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wesnoth.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clavi</id>
	<title>The Battle for Wesnoth Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wesnoth.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clavi"/>
	<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/Special:Contributions/Clavi"/>
	<updated>2026-04-05T21:23:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=WesnothRepository&amp;diff=68846</id>
		<title>WesnothRepository</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=WesnothRepository&amp;diff=68846"/>
		<updated>2021-11-10T00:49:26Z</updated>

		<summary type="html">&lt;p&gt;Clavi: /* Push access */ replaced ssh key type with modern ed25519, replaced mentions of &amp;quot;OSX&amp;quot; with &amp;quot;macOS&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Compiling Wesnoth}}&lt;br /&gt;
&lt;br /&gt;
'''The &amp;lt;cite&amp;gt;Battle for Wesnoth&amp;lt;/cite&amp;gt; code-base''' is stored in a '''&amp;lt;dfn&amp;gt;version control repository&amp;lt;/dfn&amp;gt;'''. Version control allows the entire development team to edit files concurrently. The version control software tracks revisions, stores a record of all edits, and prevents simultaneous editing from causing clashes. All changes are stored in the version control repository.&lt;br /&gt;
&lt;br /&gt;
When a release is planned, the current set of the files in the repository is ''&amp;quot;frozen&amp;quot;'', given a version number, and shipped out to the world at large. Then, as files continue to be edited by the developers, the repository code advances past that point. The repository (or &amp;quot;'''&amp;lt;dfn&amp;gt;repo&amp;lt;/dfn&amp;gt;'''&amp;quot;) version is by definition the most up-to-date version of the code.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt; repository is a '''Git''' repository and is hosted on '''GitHub''':&lt;br /&gt;
&lt;br /&gt;
{{FeaturedURL|https://github.com/wesnoth/wesnoth}}&lt;br /&gt;
&lt;br /&gt;
== What is &amp;lt;cite&amp;gt;Git&amp;lt;/cite&amp;gt;? ==&lt;br /&gt;
&lt;br /&gt;
{{SideBox|heading=Are you a newcomer to Git or GitHub who would like to work on &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt;?|If so, you may find iceiceice's &amp;lt;cite&amp;gt;[[Git for Wesnoth Crash Course]]&amp;lt;/cite&amp;gt; to be a useful read -- while &amp;lt;cite&amp;gt;WesnothRepository&amp;lt;/cite&amp;gt; is also beginner-focused, it's not as extensive as iceiceice's &amp;lt;cite&amp;gt;Crash Course&amp;lt;/cite&amp;gt;).}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dfn&amp;gt;Git&amp;lt;/dfn&amp;gt; is the most widely used open-source version-control system. You can learn more about it at its website:&lt;br /&gt;
&lt;br /&gt;
{{FeaturedURL|https://git-scm.com}}&lt;br /&gt;
&lt;br /&gt;
Git replaced '''Subversion (&amp;lt;dfn&amp;gt;SVN&amp;lt;/dfn&amp;gt;)''' as &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt;'s version-control system in March 2013. Subversion had, itself, previously replaced an older program, '''Concurrent Versioning System (&amp;lt;dfn&amp;gt;CVS&amp;lt;/dfn&amp;gt;)''', in 2005. These earlier systems have left a few traces in the version history which you might encounter; some older documentation and a few files refer to them.&lt;br /&gt;
&lt;br /&gt;
== Browse the code ==&lt;br /&gt;
&lt;br /&gt;
{{SideBox|heading=Want a {{abbr|GUI|Graphical User Interface}} for Git?|[https://www.syntevo.com/smartgit/ &amp;lt;cite&amp;gt;SmartGit&amp;lt;/cite&amp;gt;] is cross-platform and supposedly powerful, and the {{abbr|IDEs|Integrated Development Environments}} [https://www.qt.io/download-open-source/ &amp;lt;cite&amp;gt;Qt Creator&amp;lt;/cite&amp;gt;] and &amp;lt;cite&amp;gt;Microsoft Visual Studio&amp;lt;/cite&amp;gt; provide Git GUIs. &amp;lt;em&amp;gt;&amp;lt;strong&amp;gt;However&amp;lt;/strong&amp;gt;&amp;lt;/em&amp;gt;, the official Git command-line program is &amp;lt;em&amp;gt;by far&amp;lt;/em&amp;gt; the easiest Git program to get help with -- you may well have trouble finding people who can help you with a Git GUI.}}&lt;br /&gt;
&lt;br /&gt;
You can use a Web browser to view the source code at the following Web address:&lt;br /&gt;
{{FeaturedURL|https://github.com/wesnoth/wesnoth}}&lt;br /&gt;
&lt;br /&gt;
There are currently two main streams of development (&amp;quot;&amp;lt;dfn&amp;gt;branches&amp;lt;/dfn&amp;gt;&amp;quot;): the '''master''' branch (1.15.x), and the '''stable''' branch (1.14.x). (1.12.x is now '''oldstable'''.) Most other branches are only used for a short time to do some testing without disturbing the main development.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
To '''''clone''''' a copy of the repository into a directory named &amp;quot;''wesnoth''&amp;quot;, run this command:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git clone &amp;quot;&amp;lt;nowiki&amp;gt;https://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot; wesnoth&lt;br /&gt;
&lt;br /&gt;
{{SideBox|style=font-size:.75em;line-height:1.6|heading=Technical aside: Git transport protocols|There are other '''&amp;lt;dfn&amp;gt;transport protocols&amp;lt;/dfn&amp;gt;''', in addition to '''Hypertext Transfer Protocol Secure (&amp;lt;dfn&amp;gt;HTTPS&amp;lt;/dfn&amp;gt;)''', over which one can clone a Git repository from GitHub, including:&lt;br /&gt;
&lt;br /&gt;
* '''Secure Shell (&amp;lt;dfn&amp;gt;SSH&amp;lt;/dfn&amp;gt;)''' (&amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ssh://git@github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;, or &amp;quot;&amp;lt;code&amp;gt;git@github.com:wesnoth/wesnoth.git&amp;lt;/code&amp;gt;&amp;quot;), which provides a bit more security, and can be more convenient for developers, but needs to be set up first (see the &amp;quot;Push access&amp;quot; section, below).&lt;br /&gt;
* Git's '''native transport''' protocol (&amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;git://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;), which &amp;lt;em&amp;gt;may&amp;lt;/em&amp;gt; be somewhat faster than HTTPS (though GitHub uses a faster '''&amp;quot;smart&amp;quot; HTTPS''' transport), but is &amp;lt;em&amp;gt;&amp;lt;strong&amp;gt;insecure&amp;lt;/strong&amp;gt;&amp;lt;/em&amp;gt; and should be used (if one &amp;lt;em&amp;gt;must&amp;lt;/em&amp;gt; use it) with caution (&amp;lt;em&amp;gt;check the commit hashes!&amp;lt;/em&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''A more detailed explanation''' is available [https://gist.github.com/grawity/4392747 here].}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small style=&amp;quot;font-size: 95%&amp;quot;&amp;gt;('''Note:''' the &amp;quot;'''&amp;gt;'''&amp;quot; sigil represents a command prompt; '''don't type it in'''.)&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== FAQ ===&lt;br /&gt;
&lt;br /&gt;
'''Q: The repository is about three gigabytes large, and my Internet connection is not stable enough to reliably download it. What should I do?'''&lt;br /&gt;
&lt;br /&gt;
'''A:''' https://stackoverflow.com/questions/9268378/how-do-i-clone-a-large-git-repository-on-an-unreliable-connection&lt;br /&gt;
&lt;br /&gt;
# Use a download manager to download the directory &amp;quot;https://github.com/wesnoth/wesnoth.git&amp;quot;, in one or more sessions.&lt;br /&gt;
# Put this &amp;quot;''wesnoth.git''&amp;quot; directory, which is the internals of the &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt; repository, in a new, empty directory.&lt;br /&gt;
# Rename the &amp;quot;''wesnoth.git''&amp;quot; directory to &amp;quot;''.git''&amp;quot;.&lt;br /&gt;
# Finally, run these commands in the directory that contains the &amp;quot;''.git''&amp;quot; directory:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git remote add remote &amp;quot;&amp;lt;nowiki&amp;gt;https://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
 '''&amp;gt;''' git reset --hard HEAD&lt;br /&gt;
&lt;br /&gt;
The first command links your local repository to the upstream repository; the second &amp;lt;dfn&amp;gt;checks out&amp;lt;/dfn&amp;gt; a &amp;lt;dfn&amp;gt;working tree&amp;lt;/dfn&amp;gt; (i.e., copies the files out of the &amp;quot;''.git''&amp;quot; directory into a form that you can use).&lt;br /&gt;
&lt;br /&gt;
'''Alternative:''' This will make a shallow clone and allow you to fetch additional history as desired.&lt;br /&gt;
# Start by using a clone command&lt;br /&gt;
# Run a git fetch command with an increased depth, such as &amp;quot;git fetch --depth=2000&amp;quot;&lt;br /&gt;
# Continue to run additional fetch commands, each time increasing the depth, based on what your connection can handle. As of this writing, the max depth is around 60-70K.&lt;br /&gt;
# When an increase in depth no longer brings additional data, verify you have a complete repository by using &amp;quot;git fetch --unshallow&amp;quot;&lt;br /&gt;
# To fix the single branch checkout aspect, use git config and fetch commands.&lt;br /&gt;
A sample sequence is shown below. You may want to use smaller depth increases (i.e.,2-5K) based on your connection speed and reliability.&lt;br /&gt;
 '''&amp;gt;''' git clone --depth 1 &amp;quot;&amp;lt;nowiki&amp;gt;https://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot; wesnoth&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=10000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=20000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=30000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=40000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=50000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=60000&lt;br /&gt;
 '''&amp;gt;''' git fetch --depth=70000&lt;br /&gt;
 '''&amp;gt;''' git fetch --unshallow&lt;br /&gt;
 '''&amp;gt;''' git config remote.origin.fetch &amp;quot;&amp;lt;nowiki&amp;gt;+refs/heads/*:refs/remotes/origin/*&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
 '''&amp;gt;''' git fetch origin&lt;br /&gt;
&lt;br /&gt;
'''Q: I don't want any alternate branches or repository history. How could I avoid downloading that?'''&lt;br /&gt;
&lt;br /&gt;
'''A:''' This simply requires a more elaborate command. For example, to only download the last revision of the 1.14 branch, and store it in a directory named &amp;quot;''wesnoth-1.14-single-branch-test''&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git clone --branch 1.14 --single-branch --depth 1 &amp;quot;&amp;lt;nowiki&amp;gt;https://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot; wesnoth-1.14-single-branch-test&lt;br /&gt;
&lt;br /&gt;
Example results:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git clone --branch 1.14 --single-branch --depth 1 &amp;quot;&amp;lt;nowiki&amp;gt;https://github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot; wesnoth-1.14-single-branch-test&lt;br /&gt;
 Cloning into 'wesnoth-1.14-single-branch-test'...&lt;br /&gt;
 remote: Counting objects: 20751, done.&lt;br /&gt;
 remote: Compressing objects: 100% (20087/20087), done.&lt;br /&gt;
 remote: Total 20751 (delta 968), reused 11881 (delta 416), pack-reused 0&lt;br /&gt;
 Receiving objects: 100% (20751/20751), 444.98 MiB | 636.00 KiB/s, done.&lt;br /&gt;
 Resolving deltas: 100% (968/968), done.&lt;br /&gt;
 Checking out files: 100% (20369/20369), done.&lt;br /&gt;
 '''&amp;gt;''' du -sh wesnoth-1.14-single-branch-test ''# &amp;quot;du&amp;quot; means &amp;quot;disk usage&amp;quot;.''&lt;br /&gt;
 1.3G	wesnoth-1.14-single-branch-test&lt;br /&gt;
&lt;br /&gt;
However, for development and testing, it is often better to have some of the repository history, so that you can quickly check out older versions of the repository to pin down a bug.&lt;br /&gt;
&lt;br /&gt;
== Push access ==&lt;br /&gt;
&lt;br /&gt;
For '''&amp;lt;dfn&amp;gt;push access&amp;lt;/dfn&amp;gt;''' (the capability to ''push'' changes from your local repository) to our ''upstream'' repository on GitHub, you must have an account on GitHub, which must be registered as part of the [https://github.com/wesnoth ''Battle for Wesnoth''] organization.&lt;br /&gt;
&lt;br /&gt;
It may be convenient to use Git's '''Secure Shell (SSH) transport protocol''', so that you needn't either enter your username and password each time you push commits, or insecurely store those credentials in an unencrypted configuration file. To use the SSH transport, you will need to generate an SSH '''''key pair''''' with a command like (on Unix descendent operating systems, including Linux distributions and Apple macOS, at least) this:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' ssh-keygen -t ed25519 -f &amp;quot;&amp;lt;var&amp;gt;&amp;lt;file&amp;gt;&amp;lt;/var&amp;gt;&amp;quot; -C &amp;quot;&amp;lt;var&amp;gt;&amp;lt;your name&amp;gt;&amp;lt;/var&amp;gt;'s SSH key for GitHub&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On a typical Linux distribution or on Apple macOS, &amp;lt;var&amp;gt;&amp;lt;file&amp;gt;&amp;lt;/var&amp;gt; would be, e.g., &amp;quot;''~/.ssh/id-key-for-github''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Once you have generated an SSH key pair, put the following into your SSH configuration file (on Unix descendent systems, this is generally &amp;quot;''~/.ssh/config''&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 Host github.com&lt;br /&gt;
 	IdentityFile &amp;lt;var&amp;gt;&amp;lt;file&amp;gt;&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then register the key with GitHub, by going to [https://github.com/settings/ssh &amp;lt;https://github.com/settings/ssh&amp;gt;], selecting &amp;quot;Add SSH key&amp;quot;, and pasting the contents of the '''''public key''''' file (&amp;lt;var&amp;gt;&amp;lt;file&amp;gt;&amp;lt;/var&amp;gt;, but with a &amp;quot;''.pub''&amp;quot; extension) into the &amp;quot;Key&amp;quot; field.&lt;br /&gt;
&lt;br /&gt;
Then, if you have not yet cloned the repository, clone it via SSH:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git clone &amp;quot;&amp;lt;nowiki&amp;gt;ssh://git@github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot; wesnoth&lt;br /&gt;
&lt;br /&gt;
If you have already cloned the repository, you can set it to use SSH transfer:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git remote set-url origin &amp;quot;&amp;lt;nowiki&amp;gt;ssh://git@github.com/wesnoth/wesnoth.git&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Force-pushing policy ===&lt;br /&gt;
&lt;br /&gt;
A '''&amp;lt;dfn&amp;gt;forced push&amp;lt;/dfn&amp;gt;''' rewrites a branch tip to point to a new commit without checking first whether the new commit is a descendant of the current tip. This effectively allows you to rewrite the commit history of a branch, which may be useful when working with pull requests from your own [[#Push_to_your_own_fork|personal fork]].&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git push --force fork &amp;lt;var&amp;gt;&amp;lt;branch name&amp;gt;&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, for a public repository depended upon by more than a handful people like any of the &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt; repositories at [https://github.com/wesnoth &amp;lt;https://github.com/wesnoth&amp;gt;], force-pushing becomes a serious inconvenience that may have negative consequences in some cases, if history is lost in the process. For this reason, &amp;lt;strong&amp;gt;force-pushing to the upstream &amp;lt;cite&amp;gt;Wesnoth&amp;lt;/cite&amp;gt; repositories is &amp;lt;em&amp;gt;NOT allowed&amp;lt;/em&amp;gt; unless specifically authorized by the repository administrators in order to resolve an urgent issue&amp;lt;/strong&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
&lt;br /&gt;
Do this from inside the ''wesnoth'' directory:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git pull&lt;br /&gt;
&lt;br /&gt;
== Reviewing your changes ==&lt;br /&gt;
&lt;br /&gt;
Before committing, it's always wise to run:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git diff&lt;br /&gt;
&lt;br /&gt;
and look at the output. Some kinds of mistakes that are hard to see embedded in all the code you have modified are more easily spotted in the isolated diff lines.&lt;br /&gt;
&lt;br /&gt;
== Generating patches ==&lt;br /&gt;
&lt;br /&gt;
Under Git on a Unix-like operating system, you'll typically do&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git format-patch HEAD~1..HEAD&lt;br /&gt;
&lt;br /&gt;
or something similar; &amp;quot;HEAD~1&amp;quot; may be replaced by a hash or symbolic reference to any earlier revision. This will produce one or more patch files, numbered and ending with the extension &amp;quot;.patch&amp;quot;.  See [[PatchSubmissionGuidelines]] for more on how to get these merged into the public repository.&lt;br /&gt;
&lt;br /&gt;
== Push to your own fork ==&lt;br /&gt;
&lt;br /&gt;
If you have an account on GitHub, you can fork the repository and add your fork as a remote of your clone.&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git remote add fork git@github.com:YOUR_USERNAME/wesnoth.git&lt;br /&gt;
&lt;br /&gt;
You can then push your branches to your fork:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git push fork branch_name&lt;br /&gt;
&lt;br /&gt;
Or, if you want to push one branch in your local repository to another in the remote repository:&lt;br /&gt;
&lt;br /&gt;
 '''&amp;gt;''' git push fork local_branch_name:remote_branch_name&lt;br /&gt;
&lt;br /&gt;
You can then create pull requests from your branches in GitHub’s Web interface.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Git for Wesnoth Crash Course]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Clavi</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68845</id>
		<title>WesnothBinariesLinux</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68845"/>
		<updated>2021-11-09T23:57:30Z</updated>

		<summary type="html">&lt;p&gt;Clavi: there is no Pardus entry anymore, also removed superfluous spacer lines&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Translations}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tright&amp;quot;&amp;gt; __TOC__ &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 nightly flatpak below.&lt;br /&gt;
&lt;br /&gt;
== Flatpak ==&lt;br /&gt;
A nightly flatpak of Wesnoth's development branch is available.  Instructions for getting it can be found [https://forums.wesnoth.org/viewtopic.php?f=5&amp;amp;t=47872 here].&lt;br /&gt;
&lt;br /&gt;
A flatpak of the current stable release(1.14) is also available [https://flathub.org/apps/details/org.wesnoth.Wesnoth here].&lt;br /&gt;
&lt;br /&gt;
== Arch Linux ==&lt;br /&gt;
* The latest stable version can be installed from the [community] repository: &amp;lt;code&amp;gt;pacman -S wesnoth&amp;lt;/code&amp;gt; &lt;br /&gt;
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].&lt;br /&gt;
&lt;br /&gt;
== Debian ==&lt;br /&gt;
* [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)&lt;br /&gt;
* [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].&lt;br /&gt;
&lt;br /&gt;
===Command-line install===&lt;br /&gt;
To install Wesnoth, run the following to pull in everything:&lt;br /&gt;
 aptitude install wesnoth wesnoth-music&lt;br /&gt;
&lt;br /&gt;
===Compiling===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
To install Wesnoth's dependencies if you have Debian's source repositories enabled in your config, you can just use apt's &amp;lt;code&amp;gt;build-dep&amp;lt;/code&amp;gt; command with the package that best matches the version you are trying to build:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude build-dep wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude build-dep wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude purge wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude purge wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
[http://apt.ubuntu.com/p/wesnoth Click here] to install the latest version of the &amp;lt;code&amp;gt;wesnoth&amp;lt;/code&amp;gt; packaged for your release. Alternatively, search for &amp;quot;wesnoth&amp;quot; in the ''Ubuntu Software Center'' or use following command:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install wesnoth&lt;br /&gt;
&lt;br /&gt;
===Available Versions===&lt;br /&gt;
&lt;br /&gt;
Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Release&lt;br /&gt;
! Packaged Version&lt;br /&gt;
|-&lt;br /&gt;
| 20.04 LTS (Focal)&lt;br /&gt;
| 1.14.9&lt;br /&gt;
|-&lt;br /&gt;
| 19.10 (Eoan)&lt;br /&gt;
| 1.14.7&lt;br /&gt;
|-&lt;br /&gt;
| 19.04 (Disco)&lt;br /&gt;
| 1.14.6&lt;br /&gt;
|-&lt;br /&gt;
| 18.10 (Cosmic)&lt;br /&gt;
| 1.14.4&lt;br /&gt;
|-&lt;br /&gt;
| 18.04 LTS (Bionic)&lt;br /&gt;
| 1.12.6&lt;br /&gt;
|-&lt;br /&gt;
| 16.04 LTS (Xenial)&lt;br /&gt;
| 1.12.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
To install from command-line, simply run:&lt;br /&gt;
 dnf install wesnoth wesnoth-tools wesnoth-server &lt;br /&gt;
&lt;br /&gt;
== Gentoo ==&lt;br /&gt;
To install the game only, run the following as root:&lt;br /&gt;
 emerge wesnoth&lt;br /&gt;
&lt;br /&gt;
To install the game and the server, add 'server' to your USE flags, then run emerge as above.&lt;br /&gt;
&lt;br /&gt;
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.&lt;br /&gt;
&lt;br /&gt;
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:&lt;br /&gt;
&lt;br /&gt;
 games-strategy/wesnoth ~*&lt;br /&gt;
&lt;br /&gt;
The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project]&lt;br /&gt;
&lt;br /&gt;
== Mageia / Rosa Linux / OpenMandriva Lx ==&lt;br /&gt;
&lt;br /&gt;
To install the latest stable version (as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth&lt;br /&gt;
&lt;br /&gt;
For the development version (Rosa Linux and OpenMandriva Lx only, as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth-unstable&lt;br /&gt;
&lt;br /&gt;
You can also use the GUI package manager RPMDrake (in the Control Centre).&lt;br /&gt;
&lt;br /&gt;
To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Distribution&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth-unstable&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux Desktop / OpenMandriva Lx&lt;br /&gt;
|contrib release&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux LTS&lt;br /&gt;
|contrib updates&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Mageia&lt;br /&gt;
|core release&lt;br /&gt;
|N/A&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Begin Carriage returns to keep the next entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- End Carriage returns to keep the next entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==openSUSE==&lt;br /&gt;
&lt;br /&gt;
These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures.&lt;br /&gt;
&lt;br /&gt;
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].&lt;br /&gt;
&lt;br /&gt;
===Install using One-Click Installation===&lt;br /&gt;
&lt;br /&gt;
Use the correct link for your version of openSUSE:&lt;br /&gt;
&lt;br /&gt;
* openSUSE Tumbleweed (rolling release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp One-Click Install]&lt;br /&gt;
* openSUSE Leap 15.3 (fixed release) [https://software.opensuse.org/ymp/openSUSE:Backports:SLE-15-SP3/standard/wesnoth.ymp One-Click Install]&lt;br /&gt;
&lt;br /&gt;
== Void Linux ==&lt;br /&gt;
&lt;br /&gt;
Void Linux is another rolling release distribution, utilizing its own package manager.&lt;br /&gt;
The current version is available for x86, x86_64, armv6, and armv7.&lt;br /&gt;
&lt;br /&gt;
To install simply run:&lt;br /&gt;
&amp;lt;code&amp;gt;xbps-install -S wesnoth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth]&lt;br /&gt;
* [[Download]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Building and Installing]]&lt;/div&gt;</summary>
		<author><name>Clavi</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68844</id>
		<title>WesnothBinariesLinux</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68844"/>
		<updated>2021-11-09T23:50:34Z</updated>

		<summary type="html">&lt;p&gt;Clavi: /* openSUSE */ consistency&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Translations}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tright&amp;quot;&amp;gt; __TOC__ &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 nightly flatpak below.&lt;br /&gt;
&lt;br /&gt;
== Flatpak ==&lt;br /&gt;
A nightly flatpak of Wesnoth's development branch is available.  Instructions for getting it can be found [https://forums.wesnoth.org/viewtopic.php?f=5&amp;amp;t=47872 here].&lt;br /&gt;
&lt;br /&gt;
A flatpak of the current stable release(1.14) is also available [https://flathub.org/apps/details/org.wesnoth.Wesnoth here].&lt;br /&gt;
&lt;br /&gt;
== Arch Linux ==&lt;br /&gt;
* The latest stable version can be installed from the [community] repository: &amp;lt;code&amp;gt;pacman -S wesnoth&amp;lt;/code&amp;gt; &lt;br /&gt;
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].&lt;br /&gt;
&lt;br /&gt;
== Debian ==&lt;br /&gt;
* [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)&lt;br /&gt;
* [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].&lt;br /&gt;
&lt;br /&gt;
===Command-line install===&lt;br /&gt;
To install Wesnoth, run the following to pull in everything:&lt;br /&gt;
 aptitude install wesnoth wesnoth-music&lt;br /&gt;
&lt;br /&gt;
===Compiling===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
To install Wesnoth's dependencies if you have Debian's source repositories enabled in your config, you can just use apt's &amp;lt;code&amp;gt;build-dep&amp;lt;/code&amp;gt; command with the package that best matches the version you are trying to build:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude build-dep wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude build-dep wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude purge wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude purge wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
[http://apt.ubuntu.com/p/wesnoth Click here] to install the latest version of the &amp;lt;code&amp;gt;wesnoth&amp;lt;/code&amp;gt; packaged for your release. Alternatively, search for &amp;quot;wesnoth&amp;quot; in the ''Ubuntu Software Center'' or use following command:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install wesnoth&lt;br /&gt;
&lt;br /&gt;
===Available Versions===&lt;br /&gt;
&lt;br /&gt;
Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Release&lt;br /&gt;
! Packaged Version&lt;br /&gt;
|-&lt;br /&gt;
| 20.04 LTS (Focal)&lt;br /&gt;
| 1.14.9&lt;br /&gt;
|-&lt;br /&gt;
| 19.10 (Eoan)&lt;br /&gt;
| 1.14.7&lt;br /&gt;
|-&lt;br /&gt;
| 19.04 (Disco)&lt;br /&gt;
| 1.14.6&lt;br /&gt;
|-&lt;br /&gt;
| 18.10 (Cosmic)&lt;br /&gt;
| 1.14.4&lt;br /&gt;
|-&lt;br /&gt;
| 18.04 LTS (Bionic)&lt;br /&gt;
| 1.12.6&lt;br /&gt;
|-&lt;br /&gt;
| 16.04 LTS (Xenial)&lt;br /&gt;
| 1.12.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
To install from command-line, simply run:&lt;br /&gt;
 dnf install wesnoth wesnoth-tools wesnoth-server &lt;br /&gt;
&lt;br /&gt;
== Gentoo ==&lt;br /&gt;
To install the game only, run the following as root:&lt;br /&gt;
 emerge wesnoth&lt;br /&gt;
&lt;br /&gt;
To install the game and the server, add 'server' to your USE flags, then run emerge as above.&lt;br /&gt;
&lt;br /&gt;
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.&lt;br /&gt;
&lt;br /&gt;
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:&lt;br /&gt;
&lt;br /&gt;
 games-strategy/wesnoth ~*&lt;br /&gt;
&lt;br /&gt;
The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project]&lt;br /&gt;
&lt;br /&gt;
== Mageia / Rosa Linux / OpenMandriva Lx ==&lt;br /&gt;
&lt;br /&gt;
To install the latest stable version (as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth&lt;br /&gt;
&lt;br /&gt;
For the development version (Rosa Linux and OpenMandriva Lx only, as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth-unstable&lt;br /&gt;
&lt;br /&gt;
You can also use the GUI package manager RPMDrake (in the Control Centre).&lt;br /&gt;
&lt;br /&gt;
To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Distribution&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth-unstable&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux Desktop / OpenMandriva Lx&lt;br /&gt;
|contrib release&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux LTS&lt;br /&gt;
|contrib updates&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Mageia&lt;br /&gt;
|core release&lt;br /&gt;
|N/A&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Begin Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- End Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==openSUSE==&lt;br /&gt;
&lt;br /&gt;
These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures.&lt;br /&gt;
&lt;br /&gt;
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].&lt;br /&gt;
&lt;br /&gt;
===Install using One-Click Installation===&lt;br /&gt;
&lt;br /&gt;
Use the correct link for your version of openSUSE:&lt;br /&gt;
&lt;br /&gt;
* openSUSE Tumbleweed (rolling release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp One-Click Install]&lt;br /&gt;
* openSUSE Leap 15.3 (fixed release) [https://software.opensuse.org/ymp/openSUSE:Backports:SLE-15-SP3/standard/wesnoth.ymp One-Click Install]&lt;br /&gt;
&lt;br /&gt;
== Void Linux ==&lt;br /&gt;
&lt;br /&gt;
Void Linux is another rolling release distribution, utilizing its own package manager.&lt;br /&gt;
The current version is available for x86, x86_64, armv6, and armv7.&lt;br /&gt;
&lt;br /&gt;
To install simply run:&lt;br /&gt;
&amp;lt;code&amp;gt;xbps-install -S wesnoth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth]&lt;br /&gt;
* [[Download]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Building and Installing]]&lt;/div&gt;</summary>
		<author><name>Clavi</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68843</id>
		<title>WesnothBinariesLinux</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=WesnothBinariesLinux&amp;diff=68843"/>
		<updated>2021-11-09T23:49:34Z</updated>

		<summary type="html">&lt;p&gt;Clavi: /* openSUSE */ updated 13 years out of date maintainer info, corrected spelling of &amp;quot;openSUSE&amp;quot;, updated links with current distros&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Translations}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tright&amp;quot;&amp;gt; __TOC__ &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 nightly flatpak below.&lt;br /&gt;
&lt;br /&gt;
== Flatpak ==&lt;br /&gt;
A nightly flatpak of Wesnoth's development branch is available.  Instructions for getting it can be found [https://forums.wesnoth.org/viewtopic.php?f=5&amp;amp;t=47872 here].&lt;br /&gt;
&lt;br /&gt;
A flatpak of the current stable release(1.14) is also available [https://flathub.org/apps/details/org.wesnoth.Wesnoth here].&lt;br /&gt;
&lt;br /&gt;
== Arch Linux ==&lt;br /&gt;
* The latest stable version can be installed from the [community] repository: &amp;lt;code&amp;gt;pacman -S wesnoth&amp;lt;/code&amp;gt; &lt;br /&gt;
* There's a wesnoth-devel package for development releases in [https://aur.archlinux.org/packages/wesnoth-devel/ the AUR].&lt;br /&gt;
&lt;br /&gt;
== Debian ==&lt;br /&gt;
* [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)&lt;br /&gt;
* [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].&lt;br /&gt;
&lt;br /&gt;
===Command-line install===&lt;br /&gt;
To install Wesnoth, run the following to pull in everything:&lt;br /&gt;
 aptitude install wesnoth wesnoth-music&lt;br /&gt;
&lt;br /&gt;
===Compiling===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
To install Wesnoth's dependencies if you have Debian's source repositories enabled in your config, you can just use apt's &amp;lt;code&amp;gt;build-dep&amp;lt;/code&amp;gt; command with the package that best matches the version you are trying to build:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude build-dep wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude build-dep wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you have already installed an older version of Wesnoth, you should uninstall it first by running:&lt;br /&gt;
&lt;br /&gt;
 # Stable version&lt;br /&gt;
 aptitude purge wesnoth&lt;br /&gt;
 # Development version&lt;br /&gt;
 aptitude purge wesnoth-1.14&lt;br /&gt;
&lt;br /&gt;
Bear in mind that this will '''not''' remove downloaded data or saved games stored in your [[EditingWesnoth#The_user_data_directory|home directory]].&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
[http://apt.ubuntu.com/p/wesnoth Click here] to install the latest version of the &amp;lt;code&amp;gt;wesnoth&amp;lt;/code&amp;gt; packaged for your release. Alternatively, search for &amp;quot;wesnoth&amp;quot; in the ''Ubuntu Software Center'' or use following command:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install wesnoth&lt;br /&gt;
&lt;br /&gt;
===Available Versions===&lt;br /&gt;
&lt;br /&gt;
Different releases of Ubuntu provide different versions of Wesnoth in their repositories. Often, this version will be older than the most current Wesnoth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Release&lt;br /&gt;
! Packaged Version&lt;br /&gt;
|-&lt;br /&gt;
| 20.04 LTS (Focal)&lt;br /&gt;
| 1.14.9&lt;br /&gt;
|-&lt;br /&gt;
| 19.10 (Eoan)&lt;br /&gt;
| 1.14.7&lt;br /&gt;
|-&lt;br /&gt;
| 19.04 (Disco)&lt;br /&gt;
| 1.14.6&lt;br /&gt;
|-&lt;br /&gt;
| 18.10 (Cosmic)&lt;br /&gt;
| 1.14.4&lt;br /&gt;
|-&lt;br /&gt;
| 18.04 LTS (Bionic)&lt;br /&gt;
| 1.12.6&lt;br /&gt;
|-&lt;br /&gt;
| 16.04 LTS (Xenial)&lt;br /&gt;
| 1.12.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
To install from command-line, simply run:&lt;br /&gt;
 dnf install wesnoth wesnoth-tools wesnoth-server &lt;br /&gt;
&lt;br /&gt;
== Gentoo ==&lt;br /&gt;
To install the game only, run the following as root:&lt;br /&gt;
 emerge wesnoth&lt;br /&gt;
&lt;br /&gt;
To install the game and the server, add 'server' to your USE flags, then run emerge as above.&lt;br /&gt;
&lt;br /&gt;
Note: Gentoo currently operates as a rolling-release, updated approximately weekly.&lt;br /&gt;
&lt;br /&gt;
To install the latest unstable version (when available), add the following line to your /etc/portage/package.keywords file before running the emerge command:&lt;br /&gt;
&lt;br /&gt;
 games-strategy/wesnoth ~*&lt;br /&gt;
&lt;br /&gt;
The ebuild is currently maintained by [https://wiki.gentoo.org/wiki/Project:Games the Gentoo Games Project]&lt;br /&gt;
&lt;br /&gt;
== Mageia / Rosa Linux / OpenMandriva Lx ==&lt;br /&gt;
&lt;br /&gt;
To install the latest stable version (as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth&lt;br /&gt;
&lt;br /&gt;
For the development version (Rosa Linux and OpenMandriva Lx only, as root):&lt;br /&gt;
&lt;br /&gt;
 urpmi wesnoth-unstable&lt;br /&gt;
&lt;br /&gt;
You can also use the GUI package manager RPMDrake (in the Control Centre).&lt;br /&gt;
&lt;br /&gt;
To install latest Battle for Wesnoth version available you need to enable the following repository using the Control Centre:&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;left&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Distribution&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Repository for wesnoth-unstable&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux Desktop / OpenMandriva Lx&lt;br /&gt;
|contrib release&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Rosa Linux LTS&lt;br /&gt;
|contrib updates&lt;br /&gt;
|contrib updates&lt;br /&gt;
|-&lt;br /&gt;
|Mageia&lt;br /&gt;
|core release&lt;br /&gt;
|N/A&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Begin Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- End Carriage returns to keep the Pardus Linux entry from crashing into the Mandriva-based table --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==openSUSE==&lt;br /&gt;
&lt;br /&gt;
These are builds of The Battle For Wesnoth for several versions of openSUSE, made for both i386 and x86_64 architectures.&lt;br /&gt;
&lt;br /&gt;
The openSUSE packages are maintained by [https://build.opensuse.org/package/view_file/openSUSE:Factory/wesnoth/wesnoth.changes multiple contributors].&lt;br /&gt;
&lt;br /&gt;
===Install using One-Click Installation===&lt;br /&gt;
&lt;br /&gt;
Use the correct link for your version of openSUSE:&lt;br /&gt;
&lt;br /&gt;
* openSUSE Tumbleweed (rolling release) [https://software.opensuse.org/ymp/openSUSE:Factory/standard/wesnoth.ymp One-Click-Install]&lt;br /&gt;
* openSUSE Leap 15.3 (fixed release) [https://software.opensuse.org/ymp/openSUSE:Backports:SLE-15-SP3/standard/wesnoth.ymp One-Click-Install]&lt;br /&gt;
&lt;br /&gt;
== Void Linux ==&lt;br /&gt;
&lt;br /&gt;
Void Linux is another rolling release distribution, utilizing its own package manager.&lt;br /&gt;
The current version is available for x86, x86_64, armv6, and armv7.&lt;br /&gt;
&lt;br /&gt;
To install simply run:&lt;br /&gt;
&amp;lt;code&amp;gt;xbps-install -S wesnoth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The build is currently maintained by [mailto:itself@hanspolo.net Phillip Hirsch]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [https://github.com/wesnoth/wesnoth/blob/master/INSTALL.md Compiling Wesnoth]&lt;br /&gt;
* [[Download]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Building and Installing]]&lt;/div&gt;</summary>
		<author><name>Clavi</name></author>
		
	</entry>
</feed>