Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
luarocks 主要用于分发 lua 库,然后require在脚本中加载这些库。我想知道是否可以使用 luarocks 分发用 Lua 编写的可执行程序。
require
luarocks 似乎没有区别,因此安装的所有内容都以/usr/lib*. 是否有一种简单的方法(对于普通用户)可以自动将程序安装到/usr/local/bin中,最好不必将特殊参数传递给 luarocks?
/usr/lib*
/usr/local/bin
我使用您的主题标题作为搜索字符串通过谷歌进行了快速搜索。
第一个结果是这个页面;-)
第二 - http://lua-users.org/lists/lua-l/2016-06/msg00139.html