Skip to content

Installation on Linux

This tutorial walks you through installing L5 with the Love (Love2d) framework on your Linux computer.

On Linux, installation through the command line is common. Since Linux is an open source family of operating systems the exact process may need to be altered for your particular Linux distribution.

Install Love

Installing Love differs based on which Linux distribution you have.

Install Love on Debian/Ubuntu-based distributions

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

Install Love on Arch Linux

sudo pacman -S love

Install Love on Red Hat/Fedora/CentOS

sudo dnf install love

Install Love on Void Linux

sudo xbps-install -S love

Additional options to install Love

Love can also be installed in OpenSUSE, Gentoo, Solus, NixOS, via FlatPak on any distribution with Flatpak, or as a portable AppImage or built from source. See the Love2d website or check your package manager for more information.

Download the L5 Starter project

Navigate to the directory where you'd like to save the L5-Starter folder and download the L5-Starter

cd path/to/folder
wget https://l5lua.org/L5-starter.zip

Uncompress it

unzip L5-starter.zip

To run your program

Navigate to your L5-Starter directory

cd /path/to/L5-starter

And run your program

love .

It should now launch and you should see a new window open with your code sketch running. A yellow background window appearing on top of folder holding L5 Starter and love application

Next steps: You've installed Love and have L5 on your computer and verified you can run your own programs. Check out Getting Started or the tutorials to learn more.