Bash-2.05b
Prev | Chapter 6. Installing basic system software | Next

## Bash-2.05b

The Bash package contains the Bourne-Again SHell.

    Approximate build time:  1.2 SBU
    Required disk space:     27 MB

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

### 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 behavior with the following patch:

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

Now prepare Bash for compilation:

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

Compile the package:

    make

To test the results, issue: `make tests`.

Install the package:

    make install

Now run the newly compiled bash program (replacing the one you are currently executing):

    exec /bin/bash --login +h

Note that the parameters used make it an interactive login instance (so /etc/profile is read, if it exists, and the first found ~/.bash_profile, ~/.bash_login or and ~/.profile) and continue to disable hashing so that new programs are found as they become available.

### Contents of Bash

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

### Short descriptions

bash is a widely-used command interpreter. It performs many kinds of expansions and substitutions on a given command line before executing it, thus making this interpreter a powerful tool.

bashbug is a shell script to help the user compose and mail bug reports concerning bash in a standard format.

sh is a symlink to the bash program. When invoked as sh, bash tries to mimic the startup behavior of historical versions of sh as closely as possible, while conforming to the POSIX standard as well.

Prev | Up | Next
Automake-1.8.4 | Home | File-4.09