CentOS 6.5使用安装盘自带的RPM包手动安装gcc

CentOS 6.5使用安装盘自带的RPM包手动安装gcc


[root@testcs_dn ~]# cd /media/CentOS_6.5_/Packages/
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
	cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64
	cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
Display all 3996 possibilities? (y or n)
[root@testcs_dn Packages]# rpm -ivh gcc-
gcc-4.4.7-4.el6.x86_64.rpm           gcc-gfortran-4.4.7-4.el6.x86_64.rpm  gcc-java-4.4.7-4.el6.x86_64.rpm      gcc-objc++-4.4.7-4.el6.x86_64.rpm    
gcc-c++-4.4.7-4.el6.x86_64.rpm       gcc-gnat-4.4.7-4.el6.x86_64.rpm      gcc-objc-4.4.7-4.el6.x86_64.rpm      
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
	cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64
	cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64
[root@testcs_dn Packages]# 
[root@testcs_dn Packages]# rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm 
warning: kernel-headers-2.6.32-431.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package kernel-headers-2.6.32-431.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh glibc-
glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm
glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm
glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm
glibc-devel-2.12-1.132.el6.i686.rpm      
[root@testcs_dn Packages]# rpm -ivh glibc-
glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm
glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm
glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm
glibc-devel-2.12-1.132.el6.i686.rpm      
[root@testcs_dn Packages]# rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm 
warning: glibc-headers-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package glibc-headers-2.12-1.132.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh glibc-devel-2.12-1.132.el6.
glibc-devel-2.12-1.132.el6.i686.rpm    glibc-devel-2.12-1.132.el6.x86_64.rpm
[root@testcs_dn Packages]# rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm 
warning: glibc-devel-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package glibc-devel-2.12-1.132.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh libgomp-4.4.7-4.el6.x86_64.rpm 
warning: libgomp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package libgomp-4.4.7-4.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm 
warning: ppl-0.10.2-11.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:ppl                    ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 
warning: cloog-ppl-0.15.7-1.2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cloog-ppl              ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh mpfr-
mpfr-2.4.1-6.el6.i686.rpm          mpfr-devel-2.4.1-6.el6.i686.rpm
mpfr-2.4.1-6.el6.x86_64.rpm        mpfr-devel-2.4.1-6.el6.x86_64.rpm
[root@testcs_dn Packages]# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm 
warning: mpfr-2.4.1-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:mpfr                   ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm 
warning: cpp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:gcc                    ########################################### [100%]


阅读更多

扫码向博主提问

微wx笑

博客专家

有什么问题,我在这里等你
  • 擅长领域:
  • Web
  • Java
  • C#
去开通我的Chat快问
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/41727767
个人分类: CentOS gcc
所属专栏: CentOS服务器配置管理
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭