The standalone Lua interpreter and Lua libraries are included in lua5x
packages.
Version | 5.0 | 5.1 | 5.2 | 5.3 | 5.4 |
---|---|---|---|---|---|
Supported? | X | V | X | X | V |
V
: Lua with luarocks*
: Lua onlyx
: Not supportedIn order to keep different Lua versions coexisting, the following rules are used.
/usr/lib/lua5.x/
, with a symbol link named liblua.so
referring to it./usr/lib/liblua-5.x.so
refers to the corresponding library./usr/include/lua5.x/
*.pc
) is included in the package and the Lua packages are named likelua5.x
and lua5.x-c++
. The later is a symbol link to the former.Lua modules store at /usr/share/lua
and /usr/lib/lua
. The former is for Lua-only modules, the later is for C-only/combined modules.
Modules are splited by version. There is a special common
directory, in which modules could be accessed by all versions Lua interpreter.
luarocks are provided in luarocks5x
packages. Executable files are renamed as luarocks-5x
and
luarocks-admin-5x
.
Some Lua modules are available in eweOS repository, with prefix lua5x-
.