Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to install Lua, Love2D, and ZeroBrane on Linux

Notes: I indented for clarity. Only copy from the start to the end of the text on each line

Steps to install curl

sudo apt update
sudo apt install curl

Steps to install Lua:

curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make linux test

sudo make install

Note: Above, "make linux test" may take a while

Steps to install LOVE/LOVE 2D:

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

sudo apt install love

To install ZeroBrane (IDE/Editor for Lua):

Go to this link - https://studio.zerobrane.com/download
Click Linux 32/64 bit (shell archive) (this will download a file called ZeroBraneStudioEduPack-1.80-linux.sh)

Go to where you downloaded ZeroBraneStudioEduPack-1.80-linux.sh
Right click in the folder and click open terminal

Use the following commands to install:

	chmod +x ZeroBraneStudioEduPack-1.80-linux.sh
	sudo ./ZeroBraneStudioEduPack-1.80-linux.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment