centos6.5离线安装gcc gcc++ rpm

云计算 waitig 1141℃ 百度已收录 0评论

下载下面rpm包:http://vault.centos.org/6.5/os/x86_64/Packages/

依次安装:
rpm -Uvh kernel-headers-2.6.32-431.el6.x86_64.rpm
rpm -Uvh glibc-headers-2.12-1.132.el6.x86_64.rpm
rpm -Uvh glibc-devel-2.12-1.132.el6.x86_64.rpm
rpm -Uvh libgomp-4.4.7-4.el6.x86_64.rpm
rpm -Uvh ppl-0.10.2-11.el6.x86_64.rpm
rpm -Uvh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
rpm -Uvh mpfr-2.4.1-6.el6.x86_64.rpm
rpm -Uvh cpp-4.4.7-4.el6.x86_64.rpm
rpm -Uvh gcc-4.4.7-4.el6.x86_64.rpm

怕麻烦的话,可以这样一次过:rpm-Uvh *.rpm –nodeps –force

经验证,centos6.7也适用。


本文由【waitig】发表在等英博客
本文固定链接:centos6.5离线安装gcc gcc++ rpm
欢迎关注本站官方公众号,每日都有干货分享!
等英博客官方公众号
点赞 (0)分享 (0)