Yum…
各种装,注意错误信息,否则 R 编译可能不通过
yum install -y gcc
yum install -y glibc-headers
yum install -y libreadline6-dev gfortran
yum install -y readline-devel
yum install -y wget libXt-devel
yum install -y fonts-chinese tcl tcl-devel tclx tk tk-devel
yum install -y mesa-libGLU mesa-libGLU-devel
yum install -y install bzip2-devel
yum install -y install xz-devel.x86_64
yum install -y install pcre-devel
yum install -y install libcurl
yum install -y install libcurl-devel
yum install -y texinfo.x86_64
yum install -y texlive-pdftex-doc.noarch
yum install -y texlive
可能的错误信息
# 报 con'gure: WARNING: you cannot build info or HTML versions of the R
manuals 错误
yum install -y texinfo.x86_64
yum install -y texlive-pdftex-doc.noarch
#报”con'gure: error: No F77 compiler found”错误
yum install -y gcc-gfortran
#报”con'gure: error: C++ preprocessor “/lib/cpp” fails sanity check”错误
yum install -y gcc gcc-c++
#报”–with-readline=yes (default) and headers/libs are not available”错误
yum install readline-devel
# 报 ” con'gure: error: –with-x=yes (default) and X11 headers/libs are not
available”错误
yum install libXt-devel