Install Lua under Mac

Source: Internet
Author: User
Tags lua

1, first go to the LUA website to download the latest LUA package, http://www.lua.org/download.html

2, the download after the completion of the compression package on the line decompression

3, into the extracted files, such as I was placed in the download folder, in the terminal Input command: CD Downloads, and then enter LS to see what folder Downloads directory, then CD lua-5.3.1 into the Lua folder, the terminal input make MacOSX enter , then enter make test enter, and finally enter the sudo made install, this time will require input password: Enter the corresponding password (your password), and then enter the automatic installation.

4, after the installation is complete we can enter LUA-V to see if the installation is complete, or direct input LUA, if the installation is successful, you can write LUA code in the terminal directly

Install Lua under Mac

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.