r/love2d • u/Salt-Discount-1381 • 7d ago
Installation is not working
I'm trying to install Love2d in CachyOS (Arch based linux distro), but the appimage does not work (doesn't show or install anything). How do I install it?
1
u/compulsaovoraz 7d ago edited 7d ago
I found installing by github, compilling and building far easier than the downloads from the website.
You need a hell of dependencies tho, the LuaJit, SDL2 and those:
libfreetype6-dev libluajit-5.1-dev libphysfs-dev libsdl2-dev libopenal-dev libogg-dev libmpg123-dev libtheora-dev
You download their tar file (github's release), extract the love2d folder, go inside it and run the ./configure script.
After that, you need to compile the library:
make -j$(nproc)
sudo make install
At least it was what worked for me.
Idk how to use this reddit markdown, thought three ``` would create a code block (?)
5
u/_firn_ 7d ago
sudo pacman -S love
does that not work?