码迷,mamicode.com
首页 > 系统相关 > 详细

linux下安装lua

时间:2021-02-18 13:45:26      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:c++   screen   exp   font   sysstat   trace   安装   dev   pen   

#!/bin/bash
yum install -y readline-devel ncurses-devel
yum install -y vim make telnet lsof tree rdate ntp gcc gcc-c++ psmisc net-tools \
screen expect sysstat hdparm traceroute zip unzip pcre \
pcre-devel zlib zlib-devel openssl openssl-devel tcping libaio
cd /opt
wget http://www.lua.org/ftp/lua-5.2.0.tar.gz
tar zxf lua-5.2.0.tar.gz
cd lua-5.2.0
sed -i ‘s/\/usr\/local/\/usr\/local\/lua/‘ /opt/lua-5.2.0/Makefile
make && make linux && make install

linux下安装lua

标签:c++   screen   exp   font   sysstat   trace   安装   dev   pen   

原文地址:https://www.cnblogs.com/luoqiangdong/p/14391233.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!