How do I compile/install 1.10.1 for ubuntu 11.04?

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

Because I have a older version of ubuntu, and perhaps because ubuntu version of 1.10.1 isn't even out yet, I want to try a manual install (I want to see/use all the new stuff, and 1.85s lobby is starting to look a little empty) I believe this is called "compiling from source".

How do I do this though? Please spell it out for me, this kind of thing still confuses me a little.

Will it be the same as others 1.10.1 this way? Or are there potential drawbacks?

User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

It is very hard to compile, as it requires pangocairo and one more thing you have to compile as well, and compiling pangocairo requires compiling some more things. When I tried to do that, I managed to break my OS so that it needed a reinstall. Do this instead:

Type this into the terminal.

Code: Select all

$ sudo add-apt-repository ppa:vincent-c/wesnoth
$ sudo apt-get update
$ sudo apt-get install wesnoth-1.10
That will add a repository containing the debian packages. Worke perfectly for me.

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

How can I install this new version this way, without overwriting the old version?

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

I want to be able to use the old one too, does anyone know how to make them install separately?

User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

I don't know what is your exact problem, wesnoth 1.10 is the wesnoth-1.10 package, while wesnoth 1.8 is the wesnoth-1.8 package, and these two don't clash, as they have their config files elsewhere. I had both of them installed at the same time and there was no problem with it.

Anyway, if it causes problems on your computer, you can install wine and then install the windows version of wesnoth on wine (the one you will use less). Wesnoth works very nicely on wine, and you don't have to install any dependencies for it,

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

So using your instructions with those terminal commands dugi, I can load up 1.85 or 1.10.1 as I wish?

User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

Yeah, these two don't interfere, they are like separate programs. If you are using Unity, you type wesnoth and it will show you two icons, one is described as Battle for Wesnoth ( 1.8 ) and the other one Battle for Wesnoth (1.10), if you aren't using Unity, you should have two options in the dropdown menu, one for Wesnoth 1.8, one for Wesnoth 1.10.

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

How can I know for reasonably sure that repository or package is safe though?

User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

I am using it for about a month and I had no serious issues with my machine.
But there is no real guarantee, but as viruses don't exist on Ubuntu, any malware (except something really advanced) don't need time to do the evil stuff.

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

Where did you get it from then? Where does the downloaded repository come from? Where did you find the code lines or how did you figure them out?

mich
Translator
Posts: 134
Joined: November 11th, 2008, 8:54 am
Location: Italy

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by mich »


User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

I got it from that place, it is the 7th on the list if you google 'install wesnoth 1.10 ubuntu'.

But those code lines are not hard, the first just adds a repository (a place to get software from), the second one loads all the programs that are available to download and install in all the repositories you have on your repository list and the third one installs the application. The main problem with it is locating the repository, and that, of course, an unofficial repository might contain anything, possibly even things that would mark as a conflicting file, uninstall and remove something really essential from your system. But as I said, it works fine for me, so you should not be afraid.

Hex
Posts: 161
Joined: June 15th, 2010, 6:08 am

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Hex »

Ok, where does a install like this keep its save files?

User avatar
Dugi
Posts: 4955
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: How do I compile/install 1.10.1 for ubuntu 11.04?

Post by Dugi »

/.local/share/wesnoth/1.10/

Post Reply