升级bash

升级bash 
源文: http://ixdba.blog.51cto.com/2895551/1557983 

centos:(最终解决方案) 
yum clean all 
yum makecache 
yum -y update bash  

ubuntu:(最终解决方案) 
apt-get update 
apt-get -y install --only-upgrade bash  

debian:(最终解决方案) 
7.5  64bit && 32bit  
apt-get update 
apt-get -y install --only-upgrade bash  

6.0.x 64bit  
wget http://mirrors.aliyun.com/debian/pool/main/b/bash/bash_4.1-3+deb6u2_amd64.deb &&  dpkg -i bash_4.1-3+deb6u2_amd64.deb  

6.0.x 32bit  
wget http://mirrors.aliyun.com/debian/pool/main/b/bash/bash_4.1-3+deb6u2_i386.deb &&  dpkg -i bash_4.1-3+deb6u2_i386.deb 


aliyun linux:(最终解决方案) 
5.x 64bit  
wget http://mirrors.aliyun.com/centos/5/updates/x86_64/RPMS/bash-3.2-33.el5_10.4.x86_64.rpm && rpm -Uvh bash-3.2-33.el5_10.4.x86_64.rpm  

5.x 32bit  
wget http://mirrors.aliyun.com/centos/5/updates/i386/RPMS/bash-3.2-33.el5_10.4.i386.rpm  && rpm -Uvh bash-3.2-33.el5_10.4.i386.rpm  

opensuse:(最终解决方案) 

zypper clean 
zypper refresh 
zypper update -y bash 

posted @ 2014-12-25 17:42  letmedown  阅读(148)  评论(0)    收藏  举报