centos安装lua

curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz
tar zxf lua-5.3.4.tar.gz
cd lua-5.3.4
make linux test
make install

如出现 fatal error: readline/readline.h: No such file or directory 就要安装readline
yum install readline-devel

再make linux test

Comments are closed.

Post Navigation