CentOS 6.5 手动rpm包安装gcc、g++

前端之家收集整理的这篇文章主要介绍了CentOS 6.5 手动rpm包安装gcc、g++前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

安装

rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm
rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm
rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm
rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm
rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm
rpm -ivh libstdc++-devel-4.4.7-4.el6.x86_64.rpm
rpm -ivh gcc-c++-4.4.7-4.el6.x86_64.rpm

一定要按顺序进行安装

部分安装提示already installed,没关系,

执行完,gcc就安装成功了

猜你在找的CentOS相关文章