Page 1 of 2

Installing Love2d on Ubuntu 14.04

Posted: Sun Mar 30, 2014 6:32 am
by Lovegaming
Hi!
I have one question about love2d and I think you already know my question after you read the title.
How can I install Love2d on Ubuntu 14.04?
It doesn't works with the following comands which were used in ubuntu 13, 12:

Code: Select all

sudo add-apt-repository ppa:bartbes/love-stable
sudo apt-get update
sudo apt-get install love

Re: Installing Love2d on Ubuntu 14.04

Posted: Sun Mar 30, 2014 6:49 am
by josefnpat
Looking at launchpad, the ppa isn't set up for Trusty (14.04).

Until that changes (which will be soon, considering 14.04 is soon to be released) you may have to build it yourself: http://www.love2d.org/wiki/Building_L%C3%96VE

Re: Installing Love2d on Ubuntu 14.04

Posted: Sun Mar 30, 2014 9:46 am
by bartbes
Alternatively you can go the ppa's package list and get the packages for 13.10 and install those manually. That said, that's probably a bad idea because there's a conflict with sdl2 packages at the moment that should be fixed for the 0.9.1 release. It does work though, and it's easier than building it yourself, just make sure to remove the libsdl2 package later on.

EDIT: I'm uploading a 0.9.1 release candidate to my unstable ppa now, that should then hopefully just work™ on trusty.

Re: Installing Love2d on Ubuntu 14.04

Posted: Thu Apr 03, 2014 6:41 pm
by Rucikir
Rucikir wrote:I think I found it... liblove requires libmng1, and libmng1 is not present on Ubuntu Trusty repos (I'm running the beta).
On Trusty you only have http://packages.ubuntu.com/trusty/libmng2, and not libmng1, but on Saucy you only have libmng1.
bartbes wrote:Ah, I couldn't test on trusty sadly, I'll see about getting this fixed.. but that might take a while. From what I've found on the internet all that's really changed is the name of the binary, so it's kind of annoying this breaks.. That said, if you force install liblove (and get the other dependencies) and you add a symlink from /usr/lib/libmng.so.2 to /usr/lib/libmng.so.1 it probably should work. It's hacky at best, though.

EDIT: Slime pointed out libmng is a dependency of devil, not of love itself, so I'll have a look at removing it as a dependency altogether. This also means that the symlink probably isn't necessary..

Re: Installing Love2d on Ubuntu 14.04

Posted: Thu Apr 03, 2014 7:05 pm
by Ensayia
LOVE is relatively easy to compile and a great first exercise if you've never compiled something.

Building Love on the wiki contains all the instructions you will need. You are of course welcome to ask questions here as well.

Re: Installing Love2d on Ubuntu 14.04

Posted: Thu Apr 03, 2014 8:35 pm
by bartbes
This afternoon I uploaded another love package to the unstable ppa that should work on trusty. (It's the same source, so don't bother upgrading to it if you're not experiencing problems.) If anyone could tell me it works, I'll promote it to the stable ppa.

Re: Installing Love2d on Ubuntu 14.04

Posted: Fri Apr 04, 2014 5:29 pm
by Rucikir
I works fine ! Thank you.

Re: Installing Love2d on Ubuntu 14.04

Posted: Sat Apr 05, 2014 8:01 am
by Lovegaming
I don't know why, but I get this error when I'm trying to install love:
"Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
love : Depends: liblove (= 0.9.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."
How can I fix it?

Re: Installing Love2d on Ubuntu 14.04

Posted: Sat Apr 05, 2014 8:04 am
by slime
Is that with love-stable, or love-unstable?

Re: Installing Love2d on Ubuntu 14.04

Posted: Sat Apr 05, 2014 8:26 am
by Lovegaming
Love-stable, but it seems it works with love-unstable :)