Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Ubuntu)
(Major cleanup complete... I hope)
Line 8: Line 8:
  
 
== Debian ==
 
== Debian ==
* <code>aptitude install wesnoth</code><br/>(use <code>wesnoth-all</code> if you want to pull in all the campaigns and the editor, too)
+
* [http://packages.debian.org/wesnoth Official packages] including the development releases. You need to explicitly request which branch version of wesnoth you want, e.g. [http://packages.debian.org/wesnoth-1.8 1.8] (older stable), [http://packages.debian.org/wesnoth-1.10 1.10] (stable), or  [http://packages.debian.org/wesnoth-1.11 1.11] (development, for unstable and testing only)
* [http://packages.debian.org/wesnoth Official packages] including the development releases. You need to explicitly request which branch version of wesnoth you want, e.g. [http://packages.debian.org/wesnoth-1.8 1.8] (stable) or [http://packages.debian.org/wesnoth-1.10 1.10] (development)
 
 
* [http://backports-master.debian.org/ backports.debian.org] offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 
* [http://backports-master.debian.org/ backports.debian.org] offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 +
 +
===Command-line install===
 +
To install Wesnoth, run the following to pull in everything:
 +
aptitude install wesnoth wesnoth-music
  
 
===International language support===
 
===International language support===
 
Debian does not come with all locales. If you can't choose your language, you need to add locale for your lang.
 
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.
 
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===
 
===Compiling===
Line 21: Line 23:
 
If you want to play with the repository version directly you may have to compile it yourself. See [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth].
 
If you want to play with the repository version directly you may have to compile it yourself. See [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth].
  
'''To install the dependencies:'''
+
To install the dependencies: You can use the Build-Dependencies command in Aptitude for the Debian package.
 
 
You can use a neat trick: Use the Build-Dependencies of the Debian package.
 
 
 
Just do an <code>aptitude build-dep wesnoth</code>. That will pull in most you need.
 
  
'''To compile it:'''<br/>
+
Just do the following to pull in most of what you need:
If you have already installed an older version of wesnoth, uninstall it by:
+
aptitude build-dep wesnoth
  
<code>aptitude purge wesnoth</code>
+
Note: If you have already installed an older version of wesnoth, uninstall it by running:
 +
aptitude purge wesnoth
  
 
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. :)
 
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. :)
Line 85: Line 84:
  
 
== Fedora ==
 
== Fedora ==
Battle for Wesnoth is included in [http://koji.fedoraproject.org/koji/packageinfo?packageID=4097 Fedora].  The current version of Battle for Wesnoth is available for ppc, i386, and x86_64 architectures.  If you have problems with these packages, or other questions, please contact the Fedora maintainer [mailto:limb_AT_jcomserv.net Jon Ciesla].
+
Battle for Wesnoth is included in [http://koji.fedoraproject.org/koji/packageinfo?packageID=4097 Fedora].  The current version of Battle for Wesnoth is available for ARM, x86, 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].
  
 
To install simply run:
 
To install simply run:
* <code>yum install wesnoth wesnoth-tools wesnoth-server</code>
+
yum install wesnoth wesnoth-tools wesnoth-server  
  
 
== Gentoo ==
 
== Gentoo ==
 
To install the game only, run the following as root:
 
To install the game only, run the following as root:
* <code>emerge wesnoth</code>
+
emerge wesnoth
  
 
To install the game and the server, add 'server' to your USE flags, then run emerge as above.
 
To install the game and the server, add 'server' to your USE flags, then run emerge as above.
Line 100: Line 99:
 
The latest versions marked stable are and 1.10.6 for x86, amd64, and ppc, and 1.10.4 for ppc64.
 
The latest versions marked stable are and 1.10.6 for x86, amd64, and ppc, and 1.10.4 for ppc64.
  
To install the latest unstable version, add the following line to your /etc/portage/package.keywords file:
+
To install the latest unstable version (currently 1.10.7), add the following line to your /etc/portage/package.keywords file before running the emerge command:
  
games-strategy/wesnoth ~*
+
games-strategy/wesnoth ~*
  
 
The ebuild is currently maintained by Michael Sterrett.
 
The ebuild is currently maintained by Michael Sterrett.
  
== Mandriva / Mageia / Rosa ==
+
== Mageia / Rosa ==
NOTE: All free and paid consumer-oriented versions of Mandriva are end-of-life and thus no longer supported, and Mandriva is now selling commercial business server software. Switching to Mageia or Rosa is strongly advised.
 
  
 
To install the latest stable version (as root):
 
To install the latest stable version (as root):
  
<code>urpmi wesnoth</code>
+
urpmi wesnoth
  
For the development version (Mandriva and Rosa only, as root):
+
For the development version (Rosa only, as root):
  
<code>urpmi wesnoth-unstable</code>
+
urpmi wesnoth-unstable
  
 
You can also use the GUI package manager RPMDrake (in the Control Centre).
 
You can also use the GUI package manager RPMDrake (in the Control Centre).
Line 125: Line 123:
 
!align="left"|Repository for wesnoth
 
!align="left"|Repository for wesnoth
 
!align="left"|Repository for wesnoth-unstable
 
!align="left"|Repository for wesnoth-unstable
|-
 
|Mandriva Linux
 
|contrib release
 
|contrib backports
 
 
|-
 
|-
 
|Rosa Linux Desktop
 
|Rosa Linux Desktop
Line 166: Line 160:
 
* SalixOS is a Slackware-derived distribution that aims to provide packages that are also backwards-compatible with Slackware. The latest Wesnoth build in the SalixOS repositories for Slackware14 and SalixOS 14 is 1.10.4.
 
* SalixOS is a Slackware-derived distribution that aims to provide packages that are also backwards-compatible with Slackware. The latest Wesnoth build in the SalixOS repositories for Slackware14 and SalixOS 14 is 1.10.4.
  
* Building from source using SlackBuild script from [http://slackbuilds.org/result/?search=wesnoth&sv= SlackBuilds.org]. Slackbuilds for Battle for Wesnoth on Slackware 14 are for 1.10.6.  Developmental branch requires you to edit a new line between 65 & 66 with './autogen.sh' in addition to changing the version number in the wesnoth.SlackBuild script.
+
* Building from source using SlackBuild script from [http://slackbuilds.org/result/?search=wesnoth&sv= SlackBuilds.org]. Slackbuilds for Battle for Wesnoth on Slackware 14 are for 1.10.6.  Developmental branch requires you to edit a new line between 65 & 66 with './autogen.sh' in addition to changing the version number in the wesnoth.SlackBuild script.
  
Note: Depends on boost package (+ icu package if you use binary from Slacky), so it should be installed before installing Battle for Wesnoth binary or compiling from source.
+
Note: These packages depend on boost (plus icu if you use binary from Slacky), so it should be installed before installing Battle for Wesnoth binary or compiling from source.
  
 
===Installation for Slackware===
 
===Installation for Slackware===
Line 174: Line 168:
 
Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command (downloadable from Slacky or SalixOS).
 
Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command (downloadable from Slacky or SalixOS).
  
For example: #installpkg wesnoth-1.6.3-i486-1sl.tgz boost-1.39.0-i686-1as.tgz icu-3.6-i486-2sl.tgz
+
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] and compile  
 
SlackBuild script: Consult SlackBuilds [http://slackbuilds.org/howto/ HOWTO] and compile  
Line 180: Line 175:
 
===Installation for SalixOS===
 
===Installation for SalixOS===
  
Run slapt-get --install wesnoth to get the latest version
+
Run the following to get the latest version:
 +
slapt-get --install wesnoth
  
== [http://www.opensuse.org OpenSUSE] ==
+
==OpenSUSE==
  
 
These are builds of The Battle For Wesnoth for several versions of OpenSUSE, made for both i386 and x86_64 architecture.
 
These are builds of The Battle For Wesnoth for several versions of OpenSUSE, made for both i386 and x86_64 architecture.
  
For OpenSUSE 11.3 and higher, you can either use the following One-Click-Install links below, or run the following at the command line (replacing XX.X with your OpenSUSE version):
+
You can either use the following One-Click-Install links below, or run the following at the command line (replacing 12.3 with your OpenSUSE version):
  $ sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_XX.X/ Games
+
  sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_12.3/ Games
  $ sudo zypper ref
+
  sudo zypper ref
  $ sudo zypper in wesnoth
+
  sudo zypper in wesnoth
 
 
For OpenSUSE 11.1 and 11.2, wesnoth can be installed from the command line using zypper (see below). It is strongly recommended that you enable the Evergreen repositories to provide any bug fixes and updates unavailable in the main repositories.
 
  
If you have problems with these packages, or other questions, please contact [http://en.opensuse.org/User:Hhetter123 Holger Hetterich].
+
The following packages were packaged by [http://en.opensuse.org/User:Hhetter123 Holger Hetterich].
  
 
* OpenSUSE Factory (preview of the next OpenSUSE release) [http://software.opensuse.org/ymp/games/openSUSE_Factory/wesnoth.ymp?base=openSUSE%3AFactory&query=wesnoth One-Click-Install]
 
* OpenSUSE Factory (preview of the next OpenSUSE release) [http://software.opensuse.org/ymp/games/openSUSE_Factory/wesnoth.ymp?base=openSUSE%3AFactory&query=wesnoth One-Click-Install]
 
* OpenSUSE 12.3 [http://software.opensuse.org/ymp/games/openSUSE_12.3/wesnoth.ymp?base=openSUSE%3A12.3&query=wesnoth One-Click-Install] v1.10.5
 
* OpenSUSE 12.3 [http://software.opensuse.org/ymp/games/openSUSE_12.3/wesnoth.ymp?base=openSUSE%3A12.3&query=wesnoth One-Click-Install] v1.10.5
 
* OpenSUSE 12.2 [http://software.opensuse.org/ymp/games/openSUSE_12.2/wesnoth.ymp?base=openSUSE%3A12.2&query=wesnoth One-Click-Install] v1.10.5
 
* OpenSUSE 12.2 [http://software.opensuse.org/ymp/games/openSUSE_12.2/wesnoth.ymp?base=openSUSE%3A12.2&query=wesnoth One-Click-Install] v1.10.5
* OpenSUSE 12.1 [http://software.opensuse.org/ymp/games/openSUSE_12.1/wesnoth.ymp?base=openSUSE%3A12.1&query=wesnoth One-Click-Install] v1.10.5
+
 
* OpenSUSE Evergreen 11.2, run the following for v1.4:
+
The following package was packaged by [https://build.opensuse.org/project/show/home:phwestphal Phillip Westphal]
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.2.repo
+
 
$ sudo zypper ref
+
* OpenSUSE Tumbleweed (rolling release) [http://software.opensuse.org/ymp/home:phwestphal:games/openSUSE_Tumbleweed/wesnoth.ymp?base=openSUSE%3A12.3&query=wesnoth One-Click-Install] v1.10.5
$ sudo zypper in wesnoth
 
* OpenSUSE Evergreen 11.1, run the following for v1.4:
 
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.1.repo
 
$ sudo zypper ref
 
$ sudo zypper in wesnoth
 
  
 
== Vine Linux ==
 
== Vine Linux ==
Line 212: Line 201:
 
"wesnoth" rpm package for "Vine Linux 5" is using VLGothic font.
 
"wesnoth" rpm package for "Vine Linux 5" is using VLGothic font.
  
;Vine Linux 5.x
 
: VinePlus (plus category)
 
:* RPM package "wesnoth" is version 1.6.5.
 
:* RPM package "wesnoth147" is version 1.4.7.
 
 
;VineSeed (unstable)
 
;VineSeed (unstable)
 
:* RPM package "wesnoth" is version 1.8.x. always sync upstream!
 
:* RPM package "wesnoth" is version 1.8.x. always sync upstream!
Line 221: Line 206:
  
 
To install simply run:
 
To install simply run:
* <code>apt-get install wesnoth</code>
+
<code>apt-get install wesnoth</code>
  
 
== Yoper Linux ==
 
== Yoper Linux ==
 +
NOTE: Yoper Linux has been abandoned by its maintainer. Please switch to another distribution as soon as possible.
 
All versions built for Yoper 2.2.0-6, although they should install on 2.1.
 
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
 
Please let kernowyon know via the Yoper forums if you get any problems

Revision as of 16:23, 3 September 2013

Template:WesnothBinariesLinux/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

  • The latest stable version can be installed from the [community] repository: pacman -S wesnoth
  • There's a wesnoth-devel package for development releases in AUR.

Debian

Command-line install

To install Wesnoth, run the following to pull in everything:

aptitude install wesnoth wesnoth-music

International language support

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.

Compiling

If you want to play with the repository version directly you may have to compile it yourself. See Compiling Wesnoth.

To install the dependencies: You can use the Build-Dependencies command in Aptitude for the Debian package.

Just do the following to pull in most of what you need:

aptitude build-dep wesnoth

Note: If you have already installed an older version of wesnoth, uninstall it by running:

aptitude purge wesnoth

Note that this will not remove downloaded data or savegames which are stored in your home directory in the folder .wesnoth. From this point on you can simply follow the advices from the Compiling Wesnoth page, no need to duplicate that informations in here. :)

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
13.04 (Raring) 1.10
12.10 (Quantal) 1.10
12.04 (Precise) 1.10
11.10 (Oneiric) 1.8, and 1.10 with backports enabled
11.04 (Natty) 1.8, and 1.10 with backports enabled

Repos with newer vesions

You can get the very latest version from the Software Center by enabling backports, see here.

PlayDeb usually has the latest version very promptly, as well.

If you are interested in the development version of wesnoth, you can get it from this PPA: ppa:rhonda/wesnoth-devel

Compiling

If you choose to build Wesnoth from source you should add the datadir flag to configure to ensure your installation puts the data in the same place as the official installation path:

cd /usr/src
tar -xvjf wesnoth-1.x.x.tar.bz2
cd wesnoth-1.x.x
./configure --datadir=/usr/share/games ...
make
sudo make install

Fedora

Battle for Wesnoth is included in Fedora. The current version of Battle for Wesnoth is available for ARM, x86, and x86_64 architectures. If you have problems with these packages, or other questions, please contact the Fedora maintainer Jon Ciesla.

To install simply run:

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

The latest versions marked stable are and 1.10.6 for x86, amd64, and ppc, and 1.10.4 for ppc64.

To install the latest unstable version (currently 1.10.7), 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 Michael Sterrett.

Mageia / Rosa

To install the latest stable version (as root):

urpmi wesnoth

For the development version (Rosa 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 contrib release contrib updates
Rosa Linux LTS contrib updates contrib updates
Mageia core release N/A







Pardus

  • Run Package Manager, click Games section, select Wesnoth and click install.
  • If you prefer to install Wesnoth from command line type pisi it wesnoth.

Slackware/SalixOS

  • Packages of Battle for Wesnoth for Slackware 14 can be downloaded from Slacky Latest Wesnoth build: 1.10.5
  • SalixOS is a Slackware-derived distribution that aims to provide packages that are also backwards-compatible with Slackware. The latest Wesnoth build in the SalixOS repositories for Slackware14 and SalixOS 14 is 1.10.4.
  • Building from source using SlackBuild script from SlackBuilds.org. Slackbuilds for Battle for Wesnoth on Slackware 14 are for 1.10.6. Developmental branch requires you to edit a new line between 65 & 66 with './autogen.sh' in addition to changing the version number in the wesnoth.SlackBuild script.

Note: These packages depend on boost (plus icu if you use binary from Slacky), so it should be installed before installing Battle for Wesnoth binary or compiling from source.

Installation for Slackware

Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command (downloadable from Slacky or SalixOS).

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 HOWTO and compile

Installation for SalixOS

Run the following to get the latest version:

slapt-get --install wesnoth

OpenSUSE

These are builds of The Battle For Wesnoth for several versions of OpenSUSE, made for both i386 and x86_64 architecture.

You can either use the following One-Click-Install links below, or run the following at the command line (replacing 12.3 with your OpenSUSE version):

sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_12.3/ Games
sudo zypper ref
sudo zypper in wesnoth

The following packages were packaged by Holger Hetterich.

The following package was packaged by Phillip Westphal

Vine Linux

"wesnoth" rpm package for "Vine Linux 5" is using VLGothic font.

VineSeed (unstable)
  • RPM package "wesnoth" is version 1.8.x. always sync upstream!
  • RPM package "wesnoth16" is version 1.6.5.

To install simply run: apt-get install wesnoth

Yoper Linux

NOTE: Yoper Linux has been abandoned by its maintainer. Please switch to another distribution as soon as possible. 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

1.0.1 version

Earlier version

Other

See Also