Skip to content

Instantly share code, notes, and snippets.

@casaval
Created June 24, 2014 04:58
Show Gist options
  • Save casaval/61b9808c90716ed6407f to your computer and use it in GitHub Desktop.
Save casaval/61b9808c90716ed6407f to your computer and use it in GitHub Desktop.
Install love2d 0.9.1 on crunchbang debian wheezy
#step 1: install SDL
hg clone http://hg.libsdl.org/SDL
cd SDL
../configure
make [-j 4]
sudo make install
...etc
#step 3: fix path to /usr/local/share/aclocal (see http://www.gnu.org/software/automake/manual/html_node/Macro-Search-Path.html)
cd /usr/share/aclocal
sudo echo "/usr/local/share/aclocal" > dirlist
#restart or sudo ldconfig
#step 3: install OpenGL and OpenAL
sudo apt-get update
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libopenal1 libopenal-dev
sudo apt-get install libalut0 libalut-dev
#step 4: install love2d dependencies (see http://www.love2d.org/wiki/Building_L%C3%96VE)
sudo apt-get install aptitude install build-essential automake libtool libphysfs-dev libsdl-dev libopenal-dev liblua5.1-0-dev libdevil-dev libmodplug-dev libfreetype6-dev libmpg123-dev libvorbis-dev libmng-dev libxpm-dev libxcursor-dev libXxf86vm-dev
#step 5: install luajit (optional)
#step 6: download love source and switch to 0.9.1 release
hg clone https://bitbucket.org/rude/love
hg update 0.9.1
#step 7: automagic, configure, and build love
cd love
./platform/unix/automagic
./configure --with-lua=lua (if using luajit then just ./configure)
make
#step 8: set an alias to love/src/love so you can run games from wherever
@wezheng
Copy link

wezheng commented Aug 26, 2014

Great thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment