Install libreadline7-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install libreadline7-dbg
GNU readline and history libraries, debugging libraries
The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input.