1、直接贴过程
[fengbo@CentOS: jigsaw]$ rpm -q ncurses
ncurses-5.7-3.20090208.el6.i686[fengbo@CentOS: jigsaw]$ rpm -q ncurses-develpackage 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完毕!
来源: