install libncurses code example Example: installing ncurses library #installing the ncurses sudo apt-get install libncurses5-dev libncursesw5-dev