Installing Love2d on Ubuntu 14.04

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Lovegaming
Prole
Posts: 3
Joined: Sun Mar 30, 2014 6:27 am

Installing Love2d on Ubuntu 14.04

Post 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
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Installing Love2d on Ubuntu 14.04

Post 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
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing Love2d on Ubuntu 14.04

Post 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.
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: Installing Love2d on Ubuntu 14.04

Post 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..
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Installing Love2d on Ubuntu 14.04

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Installing Love2d on Ubuntu 14.04

Post 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.
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: Installing Love2d on Ubuntu 14.04

Post by Rucikir »

I works fine ! Thank you.
Lovegaming
Prole
Posts: 3
Joined: Sun Mar 30, 2014 6:27 am

Re: Installing Love2d on Ubuntu 14.04

Post 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?
User avatar
slime
Solid Snayke
Posts: 3142
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Installing Love2d on Ubuntu 14.04

Post by slime »

Is that with love-stable, or love-unstable?
Lovegaming
Prole
Posts: 3
Joined: Sun Mar 30, 2014 6:27 am

Re: Installing Love2d on Ubuntu 14.04

Post by Lovegaming »

Love-stable, but it seems it works with love-unstable :)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests