系統:ubuntu22.04
安裝url:https://ubunlog.com/zh-TW/lua-lenguaje-scripting-ubuntu/
sudo apt install build-essential libreadline-dev
mkdir lua_build
cd lua_build
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
code:
print("Hello_world”)