Installing Bash

Installation of Bash

Install Bash by running the following commands:

root:bash-2.04# ./configure --prefix=/usr --with-ncurses
root:bash-2.04# make
root:bash-2.04# make install
root:bash-2.04# logout
root:lfs# mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin
root:lfs# chroot $LFS env -i HOME=/root bash --login


The Bash package contains the bash program


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. You type something and the program will evaluate what you have typed and do something with it, like running a program.