LuaRocks
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
Original author(s) | Hisham Muhammad |
---|---|
Developer(s) | Hisham Muhammad, et al. |
Initial release | August 9, 2007 |
Stable release | 3.10.0
/ February 27, 2024 |
Repository | |
Written in | |
Type | Package manager |
License | MIT License |
Website | luarocks |
LuaRocks is a
The interface for LuaRocks is a
The public repository helps users find rocks, resolve
History
Development on LuaRocks was started in 2006 by Hisham Muhammad and was released to the public on August 9, 2007.[4]
In 2015, the public repository moved from a static page curated by the tool's developer to a new server written in
Portability
LuaRocks is written in Lua itself, and it is
For
, the Unix package should be used.On
LuaRocks has also been reported to work on
Due to installation issues (permissions needed for system installation, lagging system packages, etc.), there is hererocks
, a package available at the Python Package Index that can be installed via pip and provides installations of Lua and LuaRocks into a local directory upon demand.[5]
Projects using LuaRocks
LuaRocks allows installing Lua modules to standard Lua paths as well as to customized locations. For this reason, it is possible to use it to install extensions to any project that uses standard Lua modules, such as the Awesome window manager. Some projects, however, adopted LuaRocks as their recommended solution for managing extensions, integrating it and in some cases, maintaining their own repository of project-specific rocks. Some projects that use LuaRocks in this fashion are:
- Kong Gateway - an open-source API gateway. Kong uses LuaRocks for building the gateway and supports installing plugins and additional rocks.[6]
- Torch - Torch, a framework for machine learning, uses LuaRocks for managing its modules. Torch uses its own rocks repository.[7]
- Tarantool - the Tarantool database uses LuaRocks for managing its extensions.[8]
See also
- RubyGems
- Pip (package manager)
- Npm (software)
References
- ^ "Lua: Not Your Average Scripting Language". ActiveState Blog. 22 November 2016. Retrieved 9 January 2017.
- ^ "Using LuaRocks". LuaRocks wiki. Retrieved 30 December 2016.
- ^ "LuaRocks Stats". LuaRocks.org. Retrieved 30 December 2016.
- ^ a b "Release history". LuaRocks wiki.
- ^ "hererocks". PyPI. Retrieved 2022-05-18.
- ^ "(un)Installing your plugin". Kong Gateway - Kong Docs. Retrieved 27 February 2024.
- ^ "Rocks for Torch". Torch rocks repository. Retrieved 30 December 2016.
- ^ "Tarantool Rocks". Tarantool. Retrieved 30 December 2016.