Linux-CentOS 6.5 mini 中没有curses.h的问题

1、直接贴过程

[fengbo@CentOS: jigsaw]$ rpm -q ncurses
ncurses-5.7-3.20090208.el6.i686
[fengbo@CentOS: jigsaw]$ rpm -q ncurses-devel
package ncurses-devel is not installed
[fengbo@CentOS: jigsaw]$ sudo yum install ncurses-devel
[sudo] password for fengbo:
已加载插件:fastestmirror
设置安装进程
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirror.bit.edu.cn
解决依赖关系
--> 执行事务检查
---> Package ncurses-devel.i686 0:5.7-3.20090208.el6 will be 安装
--> 完成依赖关系计算

依赖关系解决

=====================================================================================================
软件包 架构 版本 仓库 大小
=====================================================================================================
正在安装:
ncurses-devel i686 5.7-3.20090208.el6 base 642 k

事务概要
=====================================================================================================
Install 1 Package(s)

总下载量:642 k
Installed size: 1.7 M
确定吗?[y/N]:y
下载软件包:
ncurses-devel-5.7-3.20090208.el6.i686.rpm | 642 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : ncurses-devel-5.7-3.20090208.el6.i686 1/1
Verifying : ncurses-devel-5.7-3.20090208.el6.i686 1/1

已安装:
ncurses-devel.i686 0:5.7-3.20090208.el6

完毕!

 

来源:http://blog.csdn.net/xumaojun/article/details/6229789

 

posted @ 2015-06-10 22:08  fengbohello  阅读(684)  评论(0编辑  收藏  举报