Install libncurses5 by entering the following commands in the terminal:
sudo apt update sudo apt install libncurses5
shared libraries for terminal handling
The ncurses library routines are a terminal-independent method of updating character screens with reasonable optimization. . This package contains the shared libraries necessary to run programs compiled with ncurses.