部署环境
lua-5.1.1
VM虚拟机redhat6.5-x64:192.168.1.201
Xshell4
安装
步骤一:安装依赖
yum install -y readline yum install -y readline-devel
步骤二:解压lua-5.1.1.tar.gz
tar -zxvf lua-5.1.1.tar.gz -C /usr/local
步骤三:编译 安装
make linux make install
步骤四:验证
[root@202 src]# lua Lua 5.1.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio > print("hello world!"); hello world! >