redhat 6.4 x64 和x86 更新bash

x64安装

下载bash

bash-4.1.2-15.el6_5.2.x86_64.rpm

http://mirror.centos.org/centos/6/updates/x86_64/Packages/bash-4.1.2-15.el6_5.2.x86_64.rpm


安装新包bash

chmod u+x bash-4.1.2-15.el6_5.2*

rpm -Uvh bash-4.1.2-15.el6_5.2.x86_64.rpm


 i86安装

下载bash

bash-4.1.2-15.el6_5.2.i686.rpm

http://mirror.centos.org/centos/6/updates/i386/Packages/bash-4.1.2-15.el6_5.2.i686.rpm

安装依赖库

yum install glibc.i686 glibc.x86_64 glibc-devel.i686 glibc-devel.x86_64

yum install ncurses.x86_64 ncurses-devel.i686 ncurses-devel.x86_64 ncurses-libs.i686 ncurses-libs.x86_64

安装新包bash

chmod u+x bash-4.1.2-15.el6_5.2*

rpm -ivh bash-4.1.2-15.el6_5.2.i686.rpm