Install and compile Lua in CentOS

Source: Internet
Author: User
Lua introduces Lua as a small scripting language. It was developed in 1993 by Robert toierusalimschy, WaldemarCeles, and LuizHenriquedeFigueiredo, a research group at the Catholic University of Rio de Janeiro (PontificalCatholicUniversityofRiodeJaneiro. It is designed to embed in the application.

Lua is a small scripting language. It is a research group at the Pontifical Catholic University of Rio de Janeiro in Rio de Janeiro, developed in 1993 by Robert Ierusalimschy, Waldemar Celes, and Luiz Henrique de Figueiredo. It is designed to embed an application and provide flexible scalability and customization for the application. Lua is compiled by Standard C and can be compiled and run on almost all operating systems and platforms. Lua does not provide a powerful Library, which is determined by its positioning. Therefore, Lua is not suitable for developing independent applications. Lua has a simultaneous JIT project that provides real-time compilation on a specific platform. Click here to download

Download and Install

When the network permits, you can use your own curl download tool to download

curl -R -O http://www.lua.org/ftp/lua-5.3.0.tar.gztar zxf lua-5.3.0.tar.gzcd lua-5.3.0make linux testmake install
Possible problems

During compilation
Fatal error: readline/readline. h: No such file or directory
The libreadline-dev dependency package is missing.
You can download the installation support in the following ways:
CentOS: yum install readline-devel
Debain: apt-get install libreadline-dev

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.