CentOS 6.5使用安装盘自带的RPM包手动安装gcc
时间:2016-05-02 16:13 来源:linux.it.net.cn 作者:IT
CentOS 6.5使用安装盘自带的RPM包手动安装gcc
-
[root@testcs_dn ~]# <strong><span style="font-size: 18px;">cd /media/CentOS_6.5_/Packages/</span></strong>
-
[root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh libgomp-4.4.7-4.el6.x86_64.rpm </span></strong>
-
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]#<strong><span style="font-size: 18px;"> rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm </span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm</span></strong>
-
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]# <strong><span style="font-size: 18px;">rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm </span></strong>
-
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
-
Preparing... ########################################### [100%]
-
1:gcc ########################################### [100%]
(责任编辑:IT)
CentOS 6.5使用安装盘自带的RPM包手动安装gcc
(责任编辑:IT) |