luac: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/luac - from package: lua

You may install the required package with command yum install {package}
Error in other languages:
luac: bevel nie gevind nie
luac: comandă negăsită
luac: comando não encontrado
luac: commande introuvable
luac: command not found
luac: käsku ei ole
luac: không tìm thấy lệnh
luac: komanda nerasta
luac: Kommando nicht gefunden.
luac: kommandot finns inte
luac: komut yok
luac: nie znaleziono polecenia
luac: níor aimsíodh an t-ordú
luac: no se encontró la orden
luac: no s'ha trobat l'ordre
luac: opdracht niet gevonden
luac: parancs nem található
luac: perintah tidak ditemukan
luac: príkaz nenájdený
luac: příkaz nenalezen
luac: команда не найдена
luac: командата не е открита
luac: 命令找不到
luac: コマンドが見つかりません