For installation instructions see the Section called Installing Expect-5.39.0 in Chapter 5.
Expect (5.39.0):
http://expect.nist.gov/src/
Expect Spawn Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/expect-5.39.0-spawn.patch
The Expect package provides a program that performs programmed dialogue with other interactive programs.
Installed program: expect
Installed library: libexpect5.39.a
expect "talks" to other interactive programs according to a script.
Expect depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Sed, Tcl.