[Lua] plug-in management tool luarocks

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.