Linux From Scratch: Version 5.0-pre1
Prev | Chapter 6. Installing basic system software | Next

# Installing Bash-2.05b

    Estimated build time:           0.8 SBU
    Estimated required disk space:  14 MB

## Contents of Bash

(Last checked against version 2.05a.)

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.

Bash installs the following files:

### Program Files

bash, sh (link to bash) and bashbug

##

## Bash Installation Dependencies

(Last checked against version 2.05a.)

Bash: bash, sh
Binutils: ar, as, ld, ranlib, size
Coreutils: basename, cat, chmod, cp, echo, expr, hostname, install,
ln, ls, mkdir, mv, rm, sleep, tr, uname, uniq
Diffutils: cmp
Gawk: awk
GCC: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Ncurses: (libraries)
Sed: sed
Texinfo: install-info

##

## 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 testsuite 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 +h --login

Prev | Home | Next
Installing Automake-1.7.6 | Up | Installing File-4.04