- Download the latest version of Lua Click and unzip
- Run "terminal" to enter the folder, mainly CD "folder name"
- Enter make MacOSX (carriage return) at "terminal"
- In terminal, enter make test (enter)
- Then enter the "sudo make install" command, you will be asked to enter password: Enter the appropriate password (your password), and then enter the automatic installation
After the installation is complete, you can enter Lua-v, enter will see: Lua 5.2.0 Copyright (C) 1994-2011 lua.org, Puc-rio
OK, the installation is successful!
Then you can type LUA to start the LUA tour!
$ cd/volumes/data/tools/lua-5.2.3 $ Makemacosxsrc/lua-Vlua5.2.3Copyright (C)1994- -lua.org, puc-rio$sudo Make Installpassword:cd src&&mkdir-p/usr/local/bin/usr/local/include/usr/local/lib/usr/local/Mans/man1/usr/local/share/lua/5.2/usr/local/lib/lua/5.2CD SRC &&Install-p-m0755Lua luac/usr/local/bincd src&&Install-p-m0644Lua.h luaconf.h lualib.h lauxlib.h lua.hpp/usr/local/INCLUDECD src&&Install-p-m0644liblua.a/usr/local/LIBCD Doc&&Install-p-m0644Lua.1Luac.1/usr/local/Mans/man1$ Lua-Vlua5.2.3Copyright (C)1994- -lua.org, Puc-rio
Mac System install LUA (GO)