Lua: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
lua -v | lua -v | ||
luarocks --version | luarocks --version | ||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
sudo update-alternatives --config lua-interpreter | |||
| valign="top" | | |||
| valign="top" | | |||
|} | |} | ||
Revision as of 20:26, 3 February 2024
sudo apt install lua5.4
sudo apt install luarocks
|
lua --help luarocks --help |
lua -v luarocks --version |
|
| ||
sudo update-alternatives --config lua-interpreter |
||
Playground
mkdir -p ~/Documents/lua-playground
cd ~/Documents/lua-playground
|
luarocks install moonrocks
luarocks install srlua
|
luarocks install lua-json
luarocks install luaunit
|
|
| ||
References
|
| ||