Debian / Ubuntu Linux
Installing the Curses library on Debian or Ubuntu
On Debian Linux 9 (and derived Linux brands like Ubuntu), the Curses library must be installed as
follows:
# apt-get install libncurses5
# apt-get install libncursesw5
Note: On Debian, the libncursesw.so.5 library for UTF-8 support in text mode is
part of the
libncursesw5
package: The libncurses5
package does not
include the libncursesw.so.5 library.See also TERMINFO terminal capabilities.