使用原始安装介质, 操作系统为Red Hat Enterprise Linux Server release 7.4 (Maipo)

rpm -ivh \
        gcc-4.8.5-16.el7.x86_64.rpm \
        cpp-4.8.5-16.el7.x86_64.rpm \
        glibc-devel-2.17-196.el7.x86_64.rpm \
        libmpc-1.0.1-3.el7.x86_64.rpm \
        mpfr-3.1.1-4.el7.x86_64.rpm \
        glibc-headers-2.17-196.el7.x86_64.rpm \
        kernel-headers-3.10.0-693.el7.x86_64.rpm
rpm -ivh \
        gcc-c++-4.8.5-16.el7.x86_64.rpm \
        libstdc++-devel-4.8.5-16.el7.x86_64.rpm

Logo

更多推荐