6.36. Installing Bash-2.05b

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

6.36.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

6.36.2.

6.36.3. Bash Installation Dependencies

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

6.36.4.

6.36.5. Installation of Bash

Bash has a number of bugs in it that cause it to not behave the way it is expected at times. Fix this behaviour with the following patch:

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

Prepare Bash for compilation:

./configure --prefix=/usr --bindir=/bin

Compile the package:

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

Install the package:

make install

And reload the newly compiled bash program:

exec /bin/bash --login +h