3.3. Bash-5.3

The Bash package contains the Bourne-Again Shell.

Package Information

Bash Dependencies

Required

M4-1.4.21 and Ncurses-6.6

3.3.1. Installation of Bash

Prepare Bash for compilation:

Now Configure the Package, issue:

./configure --prefix=/usr \
            --host=$LFS_TGT \
            --build=$(sh support/config.guess) \
            --without-bash-malloc

To Compile the Package, issue:

make

Now Install the Package, issue:

make DESTDIR=$LFS install;
ln -sv bash $LFS/bin/sh

3.3.2. Contents of Bash

Installed programs: PROGRAMS
Installed libraries: LIBRARIES
Installed directories: DIRECTORIES