Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(A category that contains all other categories isn't very useful)
m (Categ size)
Line 14: Line 14:
 
* [http://backports.org/ backports.org] offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.
 
* [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====
+
===International langugage 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".
 
quick guide for lenny: uncomment locales you want in /etc/locale.gen, then as root run "locale-gen".
  
====Compiling====
+
===Compiling===
  
 
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].
 
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].
Line 38: Line 38:
 
== Ubuntu ==
 
== Ubuntu ==
  
==== Karmic ====
+
=== Karmic ===
  
 
9.10's universe repository includes version 1.6.5.
 
9.10's universe repository includes version 1.6.5.
Line 46: Line 46:
 
For '''current unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
 
For '''current unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
  
==== Jaunty ====  
+
=== Jaunty ===  
  
 
9.04's universe repository includes version 1.6a
 
9.04's universe repository includes version 1.6a
Line 54: Line 54:
 
For '''current unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
 
For '''current unstable and stable builds''', visit [http://itwesnoth.valdan.net IT-WESNOTH] and our repository on tuxfamily: [http://download.tuxfamily.org/itwesnoth/debian/].
  
====Intrepid====  
+
===Intrepid===  
  
 
8.10's universe repository includes version 1.4.5.
 
8.10's universe repository includes version 1.4.5.
Line 64: Line 64:
 
(2009-12-22: The www.getdeb.net link is broken.)
 
(2009-12-22: The www.getdeb.net link is broken.)
  
====Hardy====
+
===Hardy===
  
 
* 8.04's (hardy) universe repository includes version 1.4.
 
* 8.04's (hardy) universe repository includes version 1.4.
Line 74: Line 74:
 
Updated versions can be found in [http://www.getdeb.net/app.php?name=The+Battle+for+Wesnoth GetDeb.net].
 
Updated versions can be found in [http://www.getdeb.net/app.php?name=The+Battle+for+Wesnoth GetDeb.net].
  
====Compiling====
+
===Compiling===
 
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:
 
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:
  
Line 84: Line 84:
 
  sudo make install
 
  sudo make install
  
==== International language support ====
+
=== International language support ===
  
 
If you want to use Wesnoth with a language that is not supported by your system, you have at least two options:
 
If you want to use Wesnoth with a language that is not supported by your system, you have at least two options:

Revision as of 20:43, 27 January 2010

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
  • 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

  • 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 apt-get update; apt-get install wesnoth (or apt-get -t dockyard-devel install wesnoth 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 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

  • 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 in the experimental branch
  • backports.org offers the stable wesnoth releases for Debian stable, see http://wiki.debian.org/Backports for more informations.

International langugage 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 SVN 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. 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 aptitude install libboost-iostreams-dev libboost-test-dev.

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

Karmic

9.10's universe repository includes version 1.6.5.

You can install via Applications->Ubuntu Software Center, via System->Administration->Synaptic, or aptitude/apt-get.

For current unstable and stable builds, visit IT-WESNOTH and our repository on tuxfamily: [1].

Jaunty

9.04's universe repository includes version 1.6a

You can install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.

For current unstable and stable builds, visit IT-WESNOTH and our repository on tuxfamily: [2].

Intrepid

8.10's universe repository includes version 1.4.5.

You can install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.

Updated versions can be found in GetDeb.net.

(2009-12-22: The www.getdeb.net link is broken.)

Hardy

  • 8.04's (hardy) universe repository includes version 1.4.
  • 8.04's (hardy-backports) universe repository includes version 1.4.4.

See the Ubuntu Starter Guide's section on adding the universe repositories. Install via System->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.

Updated versions can be found in GetDeb.net.

Compiling

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

If you want to use Wesnoth with a language that is not supported by your system, you have at least two options:

From Wesnoth version 1.6 onwards you can start Wesnoth with the flag --dummy-locales to enable all languages, even if they are not supported by your system.

For older versions of Wesnoth you’ll have to enable the language on your own system first. Look in the file /usr/share/i18n/SUPPORTED for a line with an ISO language code matching what you want. Append that line to /var/lib/locales/supported.d/local, then run sudo dpkg-reconfigure locales. You should now be able to select that language from the language selector in Wesnoth.

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

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 emerge wesnoth-dev 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 ebuild [new ebuild file] digest 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 emerge wesnoth-svn

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 !

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.

KateOS

Currently Battle for Wesnoth v1.4 is available in offcial KateOS repo (testing for now) [3]

klik

The most easy way to testdrive BfW is provided via 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 klik FAQ for details. A BfW-specific klik website has links to help with the package. Once the klik client is installed, look at this:

  • Wesnoth-1.0 ancient stable Version: to "klik" it, type klik://wesnoth into your Browser
  • Wesnoth-1.1.1 ancient Development-Version: to "klik" it, type klik://wesnoth-latest into your Browser

Mandrake (cooker)

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

SuSE / 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 Holger Hetterich.


Xandros Linux

  • This disto for wesnoth-1.1.1 works well with Xandros 3
  • 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

1.0.1 version

Earlier version

Binaries for all distributions

Other

See Also