Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
m (Retroactively stop being SVN-specific to cut down on false positives in searches.)
(The Gentoo development builds haven't been maintained since 2009.)
Line 89: Line 89:
 
* <code>emerge wesnoth</code>
 
* <code>emerge wesnoth</code>
  
For the development release you will have to fetch an overlay, eg from this site:
+
We don't currently know an emerge recipe for building the current development release. There was one in former times, but that method bit-rotted in 2009.
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 the repository 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 the repository source tree to keep you up to date with the lastest changes and all the errors ;-)
 
updating wesnoth-svn will not work ! you have to reemerge it each time you want to update !
 
 
 
Note: Neither wesnoth-dev nor wesnoth-svn seem to be maintained (as seen Nov 2009). The easiest way
 
should be downloading the source and following the instructions to build wesnoth in the source directory
 
with cmake and as a normal user. Inside the source directory start with ''./wesnoth'', as opposed
 
to ''wesnoth'' from your portage tree.
 
  
 
== Mandriva / Rosa ==
 
== Mandriva / Rosa ==

Revision as of 03:53, 21 March 2013

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

  • For the official pkg from [extra]: pacman -S wesnoth
  • There's a wesnoth-devel package for development releases in AUR.

Debian

  • aptitude install wesnoth
    (use wesnoth-all if you want to pull in all the campaigns and the editor, too)
  • Official packages including the development releases. You need to explicitly request which branch version of wesnoth you want, e.g. 1.8 (stable) or 1.10 (development)
  • backports.debian.org offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.

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. quick guide for lenny: uncomment locales you want in /etc/locale.gen, then as root run "locale-gen".

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 a neat trick: Use the Build-Dependencies of the Debian package.

Just do an aptitude build-dep wesnoth. That will pull in most you need.

To compile it:
If you have already installed an older version of wesnoth, uninstall it by:

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
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
10.04 LTS (Lucid) 1.6, 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 ppc, i386, 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

For the stable release just type:

  • emerge wesnoth

We don't currently know an emerge recipe for building the current development release. There was one in former times, but that method bit-rotted in 2009.

Mandriva / Rosa

stable version: urpmi wesnoth

development version: urpmi wesnoth-unstable

or use the GUI installer (in the Control Centre)

To install latest Battle for Wesnoth version in currently supported Mandriva releases you need to enable the contrib backports repo: you can do this in the Mandriva Control Centre.

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

  • Slackbuilds for Battle for Wesnoth on Slackware 13 are for 1.6.5. Developmental branch requires you to edit a new line between 65 & 66 with './autogen.sh' in addition to changing the version number in the wesnoth.SlackBuild script.
  • Packages of Battle for Wesnoth for Slackware 12.2 can be downloaded from slacky.eu Latest Wesnoth build: 1.6.3
  • Building from source using SlackBuild script for Slackware 12.2 SlackBuilds.org Latest Wesnoth build: 1.6.1 Note: Probably could be used for building newer 1.6.x version.

Note: Depends on boost package (+ icu package if you use binary from slacky.eu), so it should be installed before installing Battle for Wesnoth binary or compiling from source.

Install boost and icu binary from slacky.eu boost icu

Compile boost from source using SlackBuild script SlackBuilds.org

  • Installation:

Binary package: Downloaded Battle for Wesnoth binary, boost and icu dependency install with installpkg command.

For example: #installpkg wesnoth-1.6.3-i486-1sl.tgz boost-1.39.0-i686-1as.tgz icu-3.6-i486-2sl.tgz

SlackBuild script: Consult SlackBuilds HOWTO

OpenSUSE

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):

$ sudo zypper ar --refresh http://download.opensuse.org/repositories/games/openSUSE_XX.X/ Games
$ sudo zypper ref
$ sudo zypper in wesnoth

For OpenSUSE 11.1 and 11.2, wesnoth can be installed from the command line using zypper (see below). It is strongly recommended that you enable the Evergreen repositories to provide any bug fixes and updates unavailable in the main repositories.

If you have problems with these packages, or other questions, please contact Holger Hetterich.


$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.2.repo 
$ sudo zypper ref
$ sudo zypper in wesnoth
  • OpenSUSE Evergreen 11.1, run the following for v1.4:
$ sudo zypper ar --refresh -r http://download.opensuse.org/evergreen/11.1/openSUSE:Evergreen:11.1.repo 
$ sudo zypper ref
$ sudo zypper in wesnoth

Vine Linux

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

Vine Linux 5.x
VinePlus (plus category)
  • RPM package "wesnoth" is version 1.6.5.
  • RPM package "wesnoth147" is version 1.4.7.
VineSeed (unstable)
  • RPM package "wesnoth" is version 1.8.x. always sync upstream!
  • RPM package "wesnoth16" is version 1.6.5.

To install simply run:

  • apt-get install wesnoth

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

1.0.1 version

Earlier version

Other

See Also