Linux基本命令《七,编译安装》

一,先共享需要安装的文件
Linux基本命令《七,编译安装》
解压tengine-2.1.0.tar.gz
Linux基本命令《七,编译安装》

[[email protected] ~]# cd tengine-2.1.0
[[email protected] tengine-2.1.0]# ls
AUTHORS.te  CHANGES     CHANGES.ru  conf       contrib  html     man       README           src    THANKS.te
auto        CHANGES.cn  CHANGES.te  configure  docs     LICENSE  packages  README.markdown  tests

Linux基本命令《七,编译安装》
Linux基本命令《七,编译安装》
没有找见C语言编译器

[[email protected] tengine-2.1.0]# ./configure 
checking for OS
 + Linux 2.6.32-754.10.1.el6.x86_64 x86_64
checking for C compiler ... not found

./configure: error: C compiler cc is not found

安装gcc编译器

[[email protected] tengine-2.1.0]# yum install -y gcc

安装完成
Linux基本命令《七,编译安装》