Windows & Mac Installation Lua

Source: Internet
Author: User

Mac compiled from the source code installation is the most convenient, LUA source code less than 20,000 lines, compile a few seconds.

Open terminal, and enter the following command in turn:

Curl-r-O http://www.lua.org/ftp/lua-5.2.3.tar.gz

Tar zxf lua-5.2.3.tar.gz

CD lua-5.2.3

Make MACOSX Test

sudo make install (requires a power-on password after this command)

So Lua is installed in the/usr/local/bin directory.

Luaforwindows can be installed under Windows, it integrates many third-party libraries, but Lua is not the latest version.

To install the latest LUA, you can download the LUA binaries: http://luabinaries.sourceforge.net/download.html, after downloading the extracted files, add the corresponding folder path to the system path.

Like the toss can also compile their own source code, reference http://lua-users.org/wiki/BuildingLuaInWindowsForNewbies

"Copyright Notice" Reproduced please specify the source: http://www.cnblogs.com/TenosDoIt/p/4178643.html

Windows & Mac Installation Lua

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.