Install libncurses5-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install libncurses5-dbg
debugging/profiling libraries for ncurses
The ncurses library routines are a terminal-independent method of updating character screens with reasonable optimization. . This package contains special library versions of ncurses suitable for debugging and profiling. Also included are detached debugging symbols for libncurses5.