Site Tools


linux_modules:lua

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_modules:lua [2019/03/29 14:01] – created ktm5jlinux_modules:lua [2023/08/29 19:56] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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: **
 +<code>
 +[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
 +>
 +</code>
 +
 +==== 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 |
 +
 +