Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Ubuntu: jsut adding the fact that it's in feisty nicely :) Also moved info about dapper to bottom as that's now 2 versions old)
(Ubuntu: made it look pretty)
Line 84: Line 84:
 
=== Ubuntu ===
 
=== Ubuntu ===
  
 +
==Feisty==
 
Battle for Wesnoth 1.2.3-1 is included in the Ubuntu 7.04 (Feisty's) universe collection. It works very well. You can install via Sysyem->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.   
 
Battle for Wesnoth 1.2.3-1 is included in the Ubuntu 7.04 (Feisty's) universe collection. It works very well. You can install via Sysyem->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.   
  
 +
See the [http://help.ubuntu.com/starterguide/C/faqguide-all.html#addinguniverse Ubuntu Starter Guide]'s section on adding the universe repositories.
 +
 +
==Edgy==
 
Ubuntu 6.10 Edgy Eft includes binaries for Wesnoth 1.1.8 in its universe repository, so if you're happy with this version, just upgrade to Edgy Eft. But be aware that this version is completely outdated and there is no official mp-server running for it. Better try to update to a more recent version, like one from the 1.2.x stable series.
 
Ubuntu 6.10 Edgy Eft includes binaries for Wesnoth 1.1.8 in its universe repository, so if you're happy with this version, just upgrade to Edgy Eft. But be aware that this version is completely outdated and there is no official mp-server running for it. Better try to update to a more recent version, like one from the 1.2.x stable series.
  
See the [http://help.ubuntu.com/starterguide/C/faqguide-all.html#addinguniverse Ubuntu Starter Guide]'s section on adding the universe repositories.
+
==Dapper==
 +
 
 +
Battle for Wesnoth 1.0.1-1 is included in Ubuntu Dapper's universe collection. This is the (really old) stable release of the 1.0.x series. As this is not the latest version, Breezy users will need to do one of the following to obtain the latest version:
 +
*Upgrade to the Dapper Drake, or
 +
*Use the Breezy-Backports repository,
 +
*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.
  
 +
==Other==
 
Do not attempt to install the debian package and associated dependencies using ''dpkg'' as you will break your environment! (Though we had no comment of anything in the system being broken after installing Wesnoth from a Debian rep, in fact the Debian binaries are exactly what is used for Ubuntu, too)
 
Do not attempt to install the debian package and associated dependencies using ''dpkg'' as you will break your environment! (Though we had no comment of anything in the system being broken after installing Wesnoth from a Debian rep, in fact the Debian binaries are exactly what is used for Ubuntu, too)
  
Line 112: Line 125:
  
 
* Upgrade packages with apt-get or aptitude. Make sure that only wesnoth packages are upgraded from Debian repository.
 
* Upgrade packages with apt-get or aptitude. Make sure that only wesnoth packages are upgraded from Debian repository.
 
Battle for Wesnoth 1.0.1-1 is included in Ubuntu Dapper's universe collection. This is the (really old) stable release of the 1.0.x series. As this is not the latest version, Breezy users will need to do one of the following to obtain the latest version:
 
*Upgrade to the Dapper Drake, or
 
*Use the Breezy-Backports repository,
 
*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====
 
====Compiling====

Revision as of 07:21, 22 May 2007

GNU/Linux

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

===> about this backport, maybe an issue with an unresolvable dependancy, the "ttf-dejavu" package which is required but does not belong to sarge main archive. If someone could confirm ? [ 4 october 2005 ]This package is required but it is in backports for sarge "deb http://www.backports.org/debian/ sarge-backports main" and works without any problems [24.05.2006].

====> 8 October: adding

deb http://ftp.tr.debian.org/debian/ unstable main
deb-src http://ftp.tr.debian.org/debian/ unstable main

to /etc/apt/sources.list,

Package: wesnoth
Pin: version 1.0-1sarge*
Pin-Priority: 1001

Package: wesnoth-data
Pin: version 1.0-1sarge*
Pin-Priority: 1001

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600

to /etc/apt/preferences and then installing ttf-dejavu with

apt-get install -t unstable ttf-dejavu

worked for me ;-)

Compiling

If you want to install the latest Development version you may have to compile it yourself. See Compiling Wesnoth.

To install the dependencies : aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev

Remains one package : libintl which isn't in the Debian packages database, but I think you can install it by

aptitude install gettext

If someone may confirm that ... (Confirmed under Ubuntu 6.06 LTS but make sure that g++ and make are installed too.)

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

aptitude purge wesnoth

Note that will remove all your wesnoth configuration. Then, download the source by wget, or your internet navigator. Save it in the /usr/src directory. Now, it's very easy :

cd /usr/src
tar -xvzf wesnoth-1.x.x.tar.gz
cd wesnoth-1.x.x
./configure
make
make install

You may have more information about this part in the Compiling Wesnoth page.

Ubuntu

Feisty

Battle for Wesnoth 1.2.3-1 is included in the Ubuntu 7.04 (Feisty's) universe collection. It works very well. You can install via Sysyem->Administration->Synaptic, via Applications->Add/Remove or aptitude/apt-get.

See the Ubuntu Starter Guide's section on adding the universe repositories.

Edgy

Ubuntu 6.10 Edgy Eft includes binaries for Wesnoth 1.1.8 in its universe repository, so if you're happy with this version, just upgrade to Edgy Eft. But be aware that this version is completely outdated and there is no official mp-server running for it. Better try to update to a more recent version, like one from the 1.2.x stable series.

Dapper

Battle for Wesnoth 1.0.1-1 is included in Ubuntu Dapper's universe collection. This is the (really old) stable release of the 1.0.x series. As this is not the latest version, Breezy users will need to do one of the following to obtain the latest version:

  • Upgrade to the Dapper Drake, or
  • Use the Breezy-Backports repository,
  • 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.

Other

Do not attempt to install the debian package and associated dependencies using dpkg as you will break your environment! (Though we had no comment of anything in the system being broken after installing Wesnoth from a Debian rep, in fact the Debian binaries are exactly what is used for Ubuntu, too)

After considering the warning above, if you would still like to use more updated Wesnoth packages in Debian Etch on your installation of Ubuntu Edgy (notice that the following instruction itself might be flawed, in addition to introducing Debian packages to your installation):

  • Add a Debian etch mirror to your /etc/apt/sources.list, e.g.
deb http://http.us.debian.org/debian/ etch main
  • Add to /etc/apt/preferences, or create it with the following content
Package: *
Pin: release o=Ubuntu
Pin-Priority: 995
Package: wesnoth
Pin: release o=Debian
Pin-Priority: 996
Package: wesnoth-data
Pin: release o=Debian
Pin-Priority: 996

(You need to repeat this for each of wesnoth-music, wesnoth-server, wesnoth-httt, etc., just search for wesnoth in your normal package manager to get an idea which ones are needed, every campaign has its own package)

  • Upgrade packages with apt-get or aptitude. Make sure that only wesnoth packages are upgraded from Debian repository.

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

Fedora Core

Battle for Wesnoth is included in Fedora Extras, which is enabled in Fedora by default. The current version of Battle for Wesnoth in Fedora 5, Fedora 6, and the development branch is 1.2, and is available for ppc, i386, and x86_64 architectures. If you have problems with these packages, or other questions, please contact the Fedora maintainer Brian Pepple.

To install simply run:

  • yum install wesnoth wesnoth-tools wesnoth-server

Gentoo

For the stable release just type:

  • emerge wesnoth

For the development release, the latest development release is in portage but is currently masked

  • echo games-strategy/wesnoth >> /etc/portage/package.unmask
  • emerge wesnoth


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 !

KateOS

Packages of Battle for Wesnoth for KateOS can be downloaded from: kateos.enter5.pl

You can also add this link to repo list and install BfW by updateos -i wesnoth or by KatePKG graphical tool. This is recommended way - all the necessary dependent packages will be downloaded and installed automatically.

There are versions 1.2.4 and 1.0.2 BfW available.

Version 1.3.2 is added for testing :)

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 stable Version: to "klik" it, type klik://wesnoth into your Browser
    • Wesnoth-1.1.1 Development-Version: to "klik" it, type klik://wesnoth-latest into your Browser

Mandrake (cooker)

Slackware 10.2

sorry but the 10.1 isn't out. Don't worry the 10.2 is here \o/ enjoy

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. Furthermore, these packages are splitted into "wesnoth" (the game binary) and the data sets "wesnoth-data-base" and "wesnoth-data-full". If you want to be able to play the game, "wesnoth-data-base" is all you need, but you will be missing the full experience, because wesnoth-data-full includes larger images and music. Downloading "wesnoth-data-base" only is meant for slow-bandwidth downloaders. However if you select "wesnoth" in zen-updater or yast, it will automatically select "wesnoth-data-base" and "wesnoth-data-full" to deliver the full experience. 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