LÖVE is a free and open source 2D games framework for Windows, Linux, MacOS, Android and iOS. Using LOVE you can make 2D games in Lua high level programming language. It is released under the liberal zlib/libpng license. You can download and install Love from below link.
Install LOVE on Ubuntu Linux
LOVE is available as PPA, Flatpak and portable AppImage. Open the terminal (ctrl+alt+t) application and run below commands one by one to Add PPA and install Love on your system.
sudo add-apt-repository ppa:bartbes/love-stable
sudo apt-get update
sudo apt install love
You check the installed version using below command.
Install Love via Flatpak:
First install flatpak and flathub on your system and restart it after the installation. Now open the terminal app and run below Love flatpak installation command.
flatpak install flathub org.love2d.love2d
You can run it via
flatpak run org.love2d.love2d
and uninstall it using
sudo flatpak uninstall org.love2d.love2d
Creating a Game using Love
Create a file main.lua inside a new empty folder. Just use a good text editor like visual studio code or sublime text and save that file with below hello world code.
function love.draw() love.graphics.print("Hello World", 400, 300) end
For the complete guide please use below link.