5.30. Installing Bash-2.05b

Estimated build time:           1.2 SBU 
Estimated required disk space:  27 MB

5.30.1. Contents of Bash

bash is the Bourne-Again SHell, which is a widely used command interpreter on Unix systems. The bash program reads from standard input (the keyboard). A user types something and the program will evaluate what he has typed and do something with it, like running a program.

Installed programs: bash, sh (link to bash) and bashbug

5.30.2.

5.30.3. Bash Installation Dependencies

Bash depends on: Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Sed.

5.30.4.

5.30.5. Installation of Bash

Bash contains several known bugs. Fix these with the following patch:

patch -Np1 -i ../bash-2.05b-2.patch

Now prepare Bash for compilation:

./configure --prefix=/tools

Compile the program:

make

This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:

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