lua-users home
lua-l archive

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


> If you are packaging Lua for a *nix distribution, please share your
> naming schema so that we can find a common ground.

I am not the packager but here is what Arch Linux does for binaries:

/usr/bin/lua (this is 5.2)
/usr/bin/lua5.1
/usr/bin/luajit -> luajit-2.0.3
/usr/bin/luajit-2.0.3
/usr/bin/luarocks -> luarocks-5.2
/usr/bin/luarocks-5.1
/usr/bin/luarocks-5.2

and for pkgconfig:

/usr/lib/pkgconfig/lua.pc
/usr/lib/pkgconfig/lua5.1.pc
/usr/lib/pkgconfig/luajit.pc

In my opinion they should do the same thing for Lua that they
already do for LuaRocks and LuaJIT, which is use the 5.2 suffix
and have /usr/bin/lua be a symlink to /usr/bin/lua5.2.