Mac System install LUA (GO)

Source: Internet
Author: User
Tags lua

    1. Download the latest version of Lua Click and unzip
    2. Run "terminal" to enter the folder, mainly CD "folder name"
    3. Enter make MacOSX (carriage return) at "terminal"
    4. In terminal, enter make test (enter)
    5. 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)

Related Article

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.