1. 程式人生 > >centos6.5離線安裝gcc gcc++ rpm

centos6.5離線安裝gcc gcc++ rpm

下載下面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