install curses library 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