Install libexpect-simple-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libexpect-simple-perl
Description:
wrapper around the Expect module
Expect::Simple is a wrapper around the Expect module which should suffice for simple applications. It hides most of the Expect machinery; the Expect object is available for tweaking if need be.
Homepage: http://search.cpan.org/dist/Expect-Simple/
Version: 0.04-2
Section: universe/perl