博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CentOS使用光盘rpm安装g++
阅读量:6927 次
发布时间:2019-06-27

本文共 2144 字,大约阅读时间需要 7 分钟。

1 在ISO光盘中Package目录下有很多rpm安装包,主要包括两种

一种库文件安装包,一种开发安装包devel

[root@localhost Packages]# rpm -ivh glibc-2.12-1.132.el6.x86_64.rpm 

warning: glibc-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

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

package glibc-2.12-1.132.el6.x86_64 is already installed

[root@localhost 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

error: Failed dependencies:

glibc-headers is needed by glibc-devel-2.12-1.132.el6.x86_64

glibc-headers = 2.12-1.132.el6 is needed by glibc-devel-2.12-1.132.el6.x86_64

[root@localhost 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

error: Failed dependencies:

kernel-headers is needed by glibc-headers-2.12-1.132.el6.x86_64

kernel-headers >= 2.2.1 is needed by glibc-headers-2.12-1.132.el6.x86_64

第一个kernel-headers-2.6.32-431.el6.x86_64.rpm

第二个glibc-headers-2.12-1.132.el6.x86_64.rpm

第三个glibc-devel-2.12-1.132.el6.x86_64.rpm

第四个mpfr-2.4.1-6.el6.x86_64.rpm

第五个cpp-4.4.7-4.el6.x86_64.rpm

第六个ppl-0.10.2-11.el6.x86_64.rpm 

补充:

libppl.so.7()(64bit) is needed by cloog-ppl-0.15.7-1.2.el6.x86_64

libppl_c.so.2()(64bit) is needed by cloog-ppl-0.15.7-1.2.el6.x86_64

第七个cloog-ppl-0.15.7-1.2.el6.x86_64.rpm

第八个libgomp-4.4.7-4.el6.x86_64.rpm 

补充:

libgomp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64

libgomp.so.1()(64bit) is needed by gcc-4.4.7-4.el6.x86_64

第九个gcc-4.4.7-4.el6.x86_64.rpm

补充:

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

libgomp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64

libgomp.so.1()(64bit) is needed by gcc-4.4.7-4.el6.x86_64

第10个libstdc++-devel-4.4.7-4.el6.x86_64.rpm 

第11个libstdc++-docs-4.4.7-4.el6.x86_64.rpm

第12个libsigc++20-2.2.4.2-1.el6.x86_64.rpm 

第13个gcc-c++-4.4.7-4.el6.x86_64.rpm

第14个gdb-7.2-60.el6_4.1.x86_64.rpm

     本文转自fengyuzaitu 51CTO博客,原文链接:http://blog.51cto.com/fengyuzaitu/1434831,如需转载请自行联系原作者
你可能感兴趣的文章
python的闭包、装饰器和lambda等(笔记)
查看>>
获得指定分类下的商品:assign_cat_goods()
查看>>
laravel artisan 命令列表
查看>>
存储过程
查看>>
Confluence 6 编辑自定义 Decorators
查看>>
XmlToJson-xml对象转换为Json对象类
查看>>
分享资源Squid_Proxy_Server
查看>>
装几只“加密狗”都无妨:活用打印机共享器
查看>>
oracle 建表之前先删除语句
查看>>
Spring Boot采坑记录
查看>>
Linux下的C程序,遍历文件夹并统计其中各个类型文件所占百分比
查看>>
我的友情链接
查看>>
使用Axure模拟高仿真iPhone交互动作(4)——列表拖动
查看>>
盘点愚人节各大网站彩蛋,谁最爱恶搞?
查看>>
自定义可拖动TextView控件源码
查看>>
MySQL存储引擎总结
查看>>
oracle start with connect by prior
查看>>
我的友情链接
查看>>
nginx日志文件格式转换
查看>>
我的友情链接
查看>>