Site Tools


linux_modules:lua

Lua

Project website: https://www.lua.org/

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Using lua

Loading the Module

Example:

[ktm5j@portal01] ~$ module load lua
[ktm5j@portal01] ~$ which lua               # <-- this shows us where the `lua` binary is located
/sw/centos/lua/current/bin/lua
[ktm5j@portal01] ~$ lua                     # <-- we can now run `lua`
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
>

Environment Variables

Variable Join Type String Added
PATH prepend /sw/centos/lua/current/bin
LD_LIBRARY_PATH prepend /sw/centos/lua/current/lib
LD_INCLUDE_PATH prepend /sw/centos/lua/current/include
MANPATH prepend /sw/centos/lua/current/man
linux_modules/lua.txt · Last modified: 2023/08/29 19:56 by 127.0.0.1