lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am 25.08.2014 um 07:55 schröbte Dirk Laurie:
2014-08-25 1:05 GMT+02:00 Philipp Janda <siffiejoe@gmx.net>:

Moreover, the <version> parameter on `luarocks install` is not documented
beyond a bare mention by `luarocks help install`. It does not what I have
so far managed to guess.


It installs a specific version of a module. What did you guess?

I thought that "luarocks install module 5.2" would install a version
of the module built with Lua 5.2 options in /usr/local/lib/lua/5.2
and /usr/local/share/lua/5.2.

No, that would be `luarocks-5.2 install module`.


I have not been able to discover what it tries to do. Every single
way I have tried to code the "version" parameter has exactly
the same result: "Error: No results matching query were found."

Try something like `luarocks install lpeg 0.11-1` ...


Philipp