The method of installing bash Patch Pack under RedHat 6.5
Download address for gcc components: http://pan.baidu.com/s/10ZdD0
Download address of bash patch pack: http://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz
1. Copy to the linux system / root directory and extract gcc-4.4.7-4.el6.x86_64.rar, then install it separately.
[root@localhost home] # rpm-ivh mpfr-2.4.1-6.el6.x86_64.rpm
[root@localhost home] # rpm-ivh ppl-0.10.2-11.el6.x86_64.rpm
[root@localhost home] # rpm-ivh cpp-4.4.7-4.el6.x86_64.rpm
[root@localhost home] # rpm-ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
[root@localhost home] # rpm-ivh gcc-4.4.7-4.el6.x86_64.rpm
2. Upload bash-4.4.18.tar.gz to the server and decompress it
Enter the compressed directory
[root@localhost home] # cd bash-4.4.18
Make sure that after the gcc component is installed, you can compile and install it.
[root@localhost bash-4.4.18] # / configure & & make & & make install
You need to make a soft link after installation, otherwise it is still the old version when logging in remotely to view the bash version of the system.
[root@localhost bash-4.4.18] # mv / bin/bash / bin/bash.bak / / backup the original file by renaming it
[root@localhost bash-4.4.18] # ln-s / usr/local/bin/bash / bin/bash / / do soft links
[root@localhost bash-4.4.18] # bash- version / / View bash version