lua 编译安装
官网http://www.lua.org/download.html
Building
Lua is implemented in pure ANSI C and compiles unmodified in all platforms that have an ANSI C compiler. Lua also compiles cleanly as C++.
Lua is very easy to build and install. There are detailed instructions in the package but here is a simple terminal session that downloads the current release of Lua and builds it in Linux:
curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 make linux test
make install
For Mac OS X, use make macosx test.
If you have trouble building Lua, read the FAQ.
Binaries
If you don't have the time or the inclination to compile Lua yourself, get a binaryor try the live demo. Try also LuaDist, a multi-platform distribution of the Lua that includes batteries.
欢迎关注微信公众号:大数据从业者

浙公网安备 33010602011771号