Installing Bash

Installation of Bash

Install Bash by running the following commands:


./configure --prefix=/usr --with-curses &&
make &&
make install &&
logout

The static bash is replaced with the dynamic bash and the chroot'ed environment is re-entered by running:


mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin &&
chroot $LFS /usr/bin/env -i HOME=/root \
���TERM=$TERM /bin/bash --login
 

Contents

The Bash package contains the bash program

Description

Bash is the Bourne-Again SHell, which is a widely used command interpreter on Unix systems. Bash is a program that 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.