Difference between revisions of "WesnothBinariesLinux"

From The Battle for Wesnoth Wiki
(Debian)
(Debian)
Line 51: Line 51:
 
'''To install the dependencies :'''
 
'''To install the dependencies :'''
 
<code>aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev</code>
 
<code>aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev</code>
 +
 
Remains one package : libintl which isn't in the Debian packages database, but I think you can install it by
 
Remains one package : libintl which isn't in the Debian packages database, but I think you can install it by
 +
 
<code>aptitude install gettext</code>
 
<code>aptitude install gettext</code>
 +
 
If someone may confirm that ...
 
If someone may confirm that ...
  
 
'''To compile it :'''
 
'''To compile it :'''
 
If you have already installed and older version of wesnoth, uninstall it by :
 
If you have already installed and older version of wesnoth, uninstall it by :
 +
 
<code>aptitude purge wesnoth</code>
 
<code>aptitude purge wesnoth</code>
 +
 
Note that will remove all your wesnoth configuration.
 
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.
 
Then, download the source by wget, or your internet navigator. Save it in the /usr/src directory.
 
Now, it's very easy :
 
Now, it's very easy :
<code>cd /usr/src
+
 
tar -xvzf wesnoth-1.1.1.tar.gz
+
<code>cd /usr/src</code>
cd wesnoth-1.1.1
+
 
./configure
+
<code>tar -xvzf wesnoth-1.1.1.tar.gz</code>
make
+
 
make install</code>
+
<code>cd wesnoth-1.1.1</code>
 +
 
 +
<code>./configure</code>
 +
 
 +
<code>make</code>
 +
 
 +
<code>make install</code>
 +
 
 
You may have more information about this part in the [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth] page.
 
You may have more information about this part in the [http://www.wesnoth.org/wiki/CompilingWesnoth Compiling Wesnoth] page.
  

Revision as of 13:04, 18 February 2006

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.

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 ]

====> 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 ;-)


====> If you want to install the Developpement version (1.1.1) you'll have to compile it. 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 ...

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.1.1.tar.gz

cd wesnoth-1.1.1

./configure

make

make install

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

Ubuntu

Battle for Wesnoth 1.0.1-1 is included in Ubuntu Dapper's universe collection. This is the current latest version.

Battle for Wesnoth 1.0-1 is included in Ubuntu Breezy's universe collection. 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, or
  • Use an unofficial repository, or
  • Use the generic binary for GNU/Linux found on the Download page.

Of these options, the final one is most likely the safest at this time.

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

Fedora Core

Battle for Wesnoth is included in Fedora Extras, which is enabled in Fedora Core 4 by default.

Gentoo

  • emerge wesnoth

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 packages are also usable as a YaST installation source, use the settings from the table below

SUSE Release Protocol
SERVER DIRECTORY/URL
SuSE Linux 9.2 x86/x86_64 HTTP 81.169.140.126 rpm/wesnoth/9.2
SuSE Linux 9.3 x86/x86-64 HTTP 81.169.140.126 rpm/wesnoth/9.3
SuSE Linux 10.0 x86/x86_64/ppc / OpenSUSE 10.0 HTTP 81.169.140.126 rpm/wesnoth/10.0
Current OpenSUSE Development build x86/x86_64/ppc HTTP 81.169.140.126 rpm/wesnoth/OpenSUSE-current

The OpenSUSE Development build is Wesnoth for the current OpenSUSE releases (aka 10.1)

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

Static binary for all distributions

Other

See Also