xxxxxxxxxx
# if sudo apt install doesn't work try:
$sudo apt update
$sudo apt upgrade
# or
$sudo apt-get install aptitude
$sudo aptitude install lua
xxxxxxxxxx
curl -R -O http://www.lua.org/ftp/lua-5.4.4.tar.gz
tar zxf lua-5.4.4.tar.gz
cd lua-5.4.4
make all test
or
install scoop from scoop.sh
scoop bucket add extras
scoop install luarocks