centos 5.5,帮忙看下gcc包安装的问题
[root@localhost CentOS]# rpm -Uvh gcc*
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-48.el5.i386
glibc-devel >= 2.2.90-12 is needed by gcc44-4.4.0-6.el5.i386
[root@localhost CentOS]# rpm -Uvh glibc-devel*
error: Failed dependencies:
glibc = 2.5-49 is needed by glibc-devel-2.5-49.i386
glibc-headers is needed by glibc-devel-2.5-49.i386
glibc-headers = 2.5-49 is needed by glibc-devel-2.5-49.i386
[root@localhost CentOS]# rpm -Uvh glibc-headers*
error: Failed dependencies:
glibc = 2.5-49 is needed by glibc-headers-2.5-49.i386
[root@localhost CentOS]# rpm -Uvh glibc*
warning: package glibc = 2.5-49 was already added, skipping glibc < 2.5-49
error: Failed dependencies:
glibc = 2.5-49.el5_5.2 is needed by (installed) nscd-2.5-49.el5_5.2.i386
[root@localhost CentOS]#
glicb安装不上,ls查询有这个包的
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-48.el5.i386
glibc-devel >= 2.2.90-12 is needed by gcc44-4.4.0-6.el5.i386
[root@localhost CentOS]# rpm -Uvh glibc-devel*
error: Failed dependencies:
glibc = 2.5-49 is needed by glibc-devel-2.5-49.i386
glibc-headers is needed by glibc-devel-2.5-49.i386
glibc-headers = 2.5-49 is needed by glibc-devel-2.5-49.i386
[root@localhost CentOS]# rpm -Uvh glibc-headers*
error: Failed dependencies:
glibc = 2.5-49 is needed by glibc-headers-2.5-49.i386
[root@localhost CentOS]# rpm -Uvh glibc*
warning: package glibc = 2.5-49 was already added, skipping glibc < 2.5-49
error: Failed dependencies:
glibc = 2.5-49.el5_5.2 is needed by (installed) nscd-2.5-49.el5_5.2.i386
[root@localhost CentOS]#
glicb安装不上,ls查询有这个包的
...全文
相关推荐
centos离线安装gcc所需要的rpm包
**处理依赖问题**:在离线安装过程中,可能会遇到依赖关系无法解决的问题。此时,你需要手动寻找并提供缺少的依赖包,或者使用`--nodeps`选项跳过依赖检查(不推荐,可能引发其他问题)。5.
CentOS 7.5离线安装GCC指南
GCC(GNU Compiler Collection)是由Richard Stallman于1987年发起的自由软件项目,旨在创建一个能够处理多种编程语言的编译器。最初,GCC是GNU C编译器,用于编译C语言程序。随着时间的推移,GCC不断扩展,现在支持包括C、C++、Objective-C、Fortran、Ada和Java等多种编程语言。在进行GCC安装之前,确保目标机器具备适当的系统环境配置。这包括系统的最小化安装、用户的创建以及必要的软件仓库配置。
CentOS 6.5 手动rpm包安装gcc、gc++
在CentOS 6.5中,我们可以通过RPM包来安装GCC和G++。2.
CentOS 7 安装 gcc 所需要的 rpm 包
GCC 是开源的,广泛用于软件开发和系统构建。为了在 CentOS 7 中安装 GCC,我们需要获取并安装一系列的 RPM 包。
centos6.5上gcc安装包
在Linux系统中,包括CentOS 6.5这样的发行版,GCC是开发软件和构建应用程序的核心工具。当你的网络环境无法直接在线安装GCC时,你可以通过下载离线安装包来解决这个问题。


系统维护与使用区
