Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good repository for Lua modules?

It seems that the greatest disadvantage for Lua when compared to Perl and Python is the relative dearth of modules.

What modules do you think best close this gap? What is the go-to repository for solid Lua modules? Thanks.

like image 728
Allen Avatar asked Mar 31 '11 15:03

Allen


People also ask

Where does Lua look for modules?

And Lua will now search for modules in the lib directory (in addition to where it usually does). You can also use the LUA_PATH environment variable to do this before even starting Lua.

What are Lua libraries?

A Lua library is a chunk that defines several Lua functions and stores them in appropriate places, typically as entries in a table. A C library for Lua mimics this behavior. Besides the definition of its C functions, it must also define a special function that corresponds to the main chunk of a Lua library.

How do I set up Luarocks?

To install Luarocks, you first need to install Lua. On Windows and Mac, you can download and install Lua from the website. Once Lua is installed, install Luarocks. If you're on Linux, the luarocks command is available in your distribution's repository.


1 Answers

Lua Rocks is the most used Lua package management system I think. For manual downloading etc LuaForge has a whole lot of projects.

like image 193
jpjacobs Avatar answered Sep 30 '22 11:09

jpjacobs