This document explains how to set up multiple LÖVE installations. Make sure you have all dependencies for the versions of LÖVE you want to install.
Make a directory to install LÖVE source and binaries into.
mkdir $HOME/love/
cd $HOME/love/
Clone the source repository.
hg clone https://bitbucket.org/rude/love source
cd source
Check out version 0.9.2, or whatever the latest release is.
hg checkout 0.9.2
Run automagic.
./platform/unix/automagic
Run configure.
./configure
Install the latest release.
make install DESTDIR="$HOME/love/0.9.2" \
LDFLAGS="-R$HOME/love/0.9.2/usr/lib/"
Check out latest revision.
hg update tip
Run automagic.
./platform/unix/automagic
Run configure.
./configure
Install the development version.
make install DESTDIR="$HOME/love/dev" \
LDFLAGS="-R$HOME/love/dev/usr/lib/"
Edit $HOME/.bashrc
and add an alias for each executable:
alias love="$HOME/love/0.9.2/usr/bin/love"
alias love_dev="$HOME/love/dev/usr/bin/love"
Save and close the file. Next time you log in, the aliases will be available.
To enable them now, execute the bashrc file: source $HOME/.bashrc