Luarocks
A ppt about luarocks
Reference
The environment here is Ubuntu, but lua5.2 is installed, and no other packages have been installed.
Resources
- Official Website: http://luarocks.org/
- Extended list: http://luarocks.org/repositories/rocks/
- Installation instructions: http://luarocks.org/en/Installation_instructions_for_Unix (there are a lot of configuration options)
Install
Always prompt-with-Lua
In fact, you need to find the Lua. h file, which can be found through the find command, and then configured in Configure. For example, here I am/usr/local/Lua/include/Lua. h
Original installation and compilation process
Git clone git: // github.com/keplerproject/luarocks.gitcd luarocks /. /configure-with-Lua =/usr/local/Lua # Be sure not to use/make buildmake buildluaro- help # At the end to view the help and version information.
Install a library for testing
Luarocks install luasocket
...
Luasocket 3.0rc1-1 is now built and installed in/usr/local (License: MIT)
Installation is complete.
This article is from the "orangleliu notebook" blog, please be sure to keep this http://blog.csdn.net/orangleliu/article/details/38825305
[Lua] plug-in management tool luarocks