Rock
You can install LOOP through LuaRocks using the following command.
luarocks install loop
Source
LOOP is provided as free software under the terms of the MIT License, which are the same terms of the Lua License. You can download the LOOP package from the following link. See below for installation instructions.
See also:To make the LOOP packages available for any Lua application you may simply execute the application in the lua
directory of the LOOP package.
Therefore, to give it a try, just execute the Lua stand-alone interpreter in the lua
directory located in the place where you unpacked LOOP.
However, to properly install LOOP in your environment you must copy the contents of this lua
directory to the Lua package directory, which is defined by the luaconf.h
file during the compilation of Lua. The default values for this directory are listed below:
- Unix
- Lua 5.1:
/usr/local/share/lua/5.1/
Lua 5.2:/usr/local/share/lua/5.2/
- Windows
- Directory where the application (e.g. stand-alone interpreter) is installed.
You can also define the directories Lua searches for packages by setting the LUA_PATH
.