linux gcc rpm包安装过程

系统中发现gcc未安装,以下为gcc安装过程中的依赖包

引用
[root@Linux Server]# rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm 

warning:gcc-4.1.2-48.el5.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

error:Faileddependencies:

glibc-devel>=2.2.90-12isneededbygcc-4.1.2-48.el5.x86_64

libgomp>=4.1.2-48.el5isneededbygcc-4.1.2-48.el5.x86_64

[root@LinuxServer]#ls-lglibc-devel-2.5-49.

glibc-devel-2.5-49.i386.rpmglibc-devel-2.5-49.x86_64.rpm

[root@LinuxServer]#ls-lglibc-devel-2.5-49.

[root@LinuxServer]#rpm-ivhglibc-devel-2.5-49.x86_64.rpm

warning:glibc-devel-2.5-49.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

error:Faileddependencies:

glibc-headersisneededbyglibc-devel-2.5-49.x86_64

glibc-headers=2.5-49isneededbyglibc-devel-2.5-49.x86_64

[root@LinuxServer]#rpm-ivhglibc-headers-2.5-49.x86_64.rpm

warning:glibc-headers-2.5-49.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

error:Faileddependencies:

kernel-headersisneededbyglibc-headers-2.5-49.x86_64

kernel-headers>=2.2.1isneededbyglibc-headers-2.5-49.x86_64

[root@LinuxServer]#rpm-ivhkernel-headers-2.6.18-194.el5.x86_64.rpm

warning:kernel-headers-2.6.18-194.el5.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

Preparing...###########################################[100%]

1:kernel-headers###########################################[100%]

[root@LinuxServer]#rpm-ivhglibc-headers-2.5-49.x86_64.rpm

warning:glibc-headers-2.5-49.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

Preparing...###########################################[100%]

1:glibc-headers###########################################[100%]

[root@LinuxServer]#rpm-ivhglibc-devel-2.5-49.x86_64.rpm

warning:glibc-devel-2.5-49.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

Preparing...###########################################[100%]

1:glibc-devel###########################################[100%]

[root@LinuxServer]#rpm-ivhgcc-4.1.2-48.el5.x86_64.rpm

warning:gcc-4.1.2-48.el5.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

error:Faileddependencies:

libgomp>=4.1.2-48.el5isneededbygcc-4.1.2-48.el5.x86_64

[root@LinuxServer]#rpm-ivhlibgomp-4.4.0-6.el5.

libgomp-4.4.0-6.el5.i386.rpmlibgomp-4.4.0-6.el5.x86_64.rpm

[root@LinuxServer]#rpm-ivhlibgomp-4.4.0-6.el5.x86_64.rpm

warning:libgomp-4.4.0-6.el5.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

Preparing...###########################################[100%]

1:libgomp###########################################[100%]

[root@LinuxServer]#rpm-ivhgcc-4.1.2-48.el5.x86_64.rpm

warning:gcc-4.1.2-48.el5.x86_64.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186

Preparing...###########################################[100%]

1:gcc###########################################[100%]

相关推荐