# rpm -ivh MySQL-client-community-5.1.58-1.rhel5.i386.rpm
error: Failed dependencies:
libncursesw.so.5 is needed by MySQL-client-community-5.1.58-1.rhel5.i386
找一个 ncurses 的 rpm 装上。。
# yum search curses
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirror.bit.edu.cn
============================================================================== N/S Matched: curses ==============================================================================
ncurses.x86_64 : Ncurses support utilities
ncurses-devel.i686 : Development files for the ncurses library
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-libs.i686 : Ncurses libraries
ncurses-libs.x86_64 : Ncurses libraries
ncurses-static.x86_64 : Static libraries for the ncurses library
ocaml-curses.x86_64 : OCaml bindings for ncurses
ocaml-curses-devel.i686 : Development files for ocaml-curses
ocaml-curses-devel.x86_64 : Development files for ocaml-curses
ncurses-base.x86_64 : Descriptions of common terminals
ncurses-term.x86_64 : Terminal descriptions
Name and summary matches only, use "search all" for everything.
安装
yum install ncurses-devel.i686
................. 省略一大推 ...............
Complete!
#
#
# rpm -ivh MySQL-client-community-5.1.58-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]
OK
error: Failed dependencies:
libncursesw.so.5 is needed by MySQL-client-community-5.1.58-1.rhel5.i386
找一个 ncurses 的 rpm 装上。。
# yum search curses
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirror.bit.edu.cn
============================================================================== N/S Matched: curses ==============================================================================
ncurses.x86_64 : Ncurses support utilities
ncurses-devel.i686 : Development files for the ncurses library
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-libs.i686 : Ncurses libraries
ncurses-libs.x86_64 : Ncurses libraries
ncurses-static.x86_64 : Static libraries for the ncurses library
ocaml-curses.x86_64 : OCaml bindings for ncurses
ocaml-curses-devel.i686 : Development files for ocaml-curses
ocaml-curses-devel.x86_64 : Development files for ocaml-curses
ncurses-base.x86_64 : Descriptions of common terminals
ncurses-term.x86_64 : Terminal descriptions
Name and summary matches only, use "search all" for everything.
安装
yum install ncurses-devel.i686
................. 省略一大推 ...............
Complete!
#
#
# rpm -ivh MySQL-client-community-5.1.58-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]
OK