Installing Bash

Installation of Bash

Install Bash by running the following commands:


./configure --prefix=/usr --with-curses &&
make &&
make install &&
logout
mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin

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


cd $LFS &&
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.