how to install ncurses on ubuntu 18.04 code example
Example: installing ncurses library
#installing the ncurses
sudo apt-get install libncurses5-dev libncursesw5-dev
#installing the ncurses
sudo apt-get install libncurses5-dev libncursesw5-dev