#7. Installing programs.
In the terminal, type lua. It should spit out "command not found".
Now do sudo apt-get install lua5.2. It will say lots and eventually let you type again. Lua has now been installed.
If you type lua again, it will bring you into a lua prompt. Press ctrl+C to exit.