Linux 系统上安装(本文使用了5..0版本进行安装:) curl -R -O http://www.lua.org/ftp/lua-.tar.gz tar zxf lua-.tar.gz cd lua- make linux test make install 如果安装的时候报错: lua.c:80:31: fatal error: readline/readline.h: No such file or directory 解决方法: 缺少libreadline-dev依赖包 centos…
lua下载地址:https://www.lua.org/download.html curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz tar zxf lua-5.3.5.tar.gz cd lua-5.3.5 make linux test make install make linux test 时候可能会报错 缺少libreadline-dev依赖包 sudo apt-get install libreadline-dev 再次运行 mak…