Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install wesnoth.org game on Ubuntu. I have saved the file to my machine but don't know what to do now since it is in a tar.bz2 format.

share|improve this question
add comment

3 Answers 3

If you using Maverick or lower WesnothBinariesLinux

Else Compiling

share|improve this answer
    
The first priority is to find the program in the Software Centre. If it is there, you can easily install. –  user4124 Apr 26 '11 at 21:30
add comment

Typing,

sudo apt-get install wesnoth-1.8

at the terminal will install Wesnoth. As user4124 suggested in the comment below, the best option is to find it through the Software Center. Plus it's very easy that way.

share|improve this answer
1  
The pacakge wesnoth-1.8 is better, as it includes the campaigns etc. The core package is just the core without the single player game play. –  Egil Apr 27 '11 at 12:20
1  
You can also find debian/ubuntu packages on getdeb.net and playdeb.net. Using packages is the easiest choice by far. –  Phillip Whelan Apr 27 '11 at 18:16
add comment

I assume that you downloaded the source of The Battle for Wesnoth and you prefer it to the already packaged versions for Ubuntu. The source needs to be compiled to create executables, so you need to compile it before you can install it. To compile and install it you can follow these instructions which are copied here for convenience:

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

See http://wiki.wesnoth.org/CompilingWesnoth for more information.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.