How to install the curses.h header file (or the package that includes it) on Linux?

advertisements

I want to use certain operations (like clearing the screen etc.) in C programs in Linux platform and I am informed that it can be done including curses.h header-file. But this doesn't seem to be available along with gcc package.

Please, tell me how can I install it?


Try this:

sudo apt-get install libncurses5-dev