#!/bin/bash echo "#########################开始安装依赖环境#####################" sleep 1 yum -y install gcc yum -y install glibc-headers yum -y install gcc-c++ yum -y install gcc-gfortran yum -y install readline-devel yum -y install libXt-devel yum -y install texinfo.x86_64 yum -y install texlive-pdftex-doc.noarch yum -y install xz-devel.x86_64* yum -y install bzip2-devel yum -y install pcre-devel yum -y install tcl-devel yum -y install zlib-devel yum -y install readline-devel yum -y install tk-devel yum -y install tetex-latex 为了防止devtools包装不上先安装这几个依赖 yum -y install libcurl-devel yum -y install openssl-devel yum -y install libxml2-devel yum -y install libcurl libcurl-devel sleep 1 echo " " echo "#########################安装成功####################################"