1. 下载源码
http://www.lua.org/download.html
2. 安装readline
sudo apt-get install libreadline6-dev
3. build & install
tar -xf lua**.tgz
cd lua**
make linux
sudo make install
1. 下载源码
http://www.lua.org/download.html
2. 安装readline
sudo apt-get install libreadline6-dev
3. build & install
tar -xf lua**.tgz
cd lua**
make linux
sudo make install
转载于:https://www.cnblogs.com/venusSolar/p/3685524.html