Installation of Bash Bash contains several known bugs. Fix these with the following patch: patch -Np1 -i ../bash-&bash-patch-version;.patch Now prepare Bash for compilation: ./configure --prefix=/tools --with-curses Compile the program: make Check that it works correctly: make tests Then install it and its documentation: make install And make a link for the programs that use sh for a shell: ln -s bash /tools/bin/sh