curses.h: No such file or directory

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2011-08-11 13:46. :: Errors

Error: curses.h: No such file or directory

You see the following error:

curses.h: No such file or directory

 

Solution

On Debian/Ubuntu, install the packages libncurses5-dev and libncursesw5-dev:

apt-get install libncurses5-dev libncursesw5-dev

On Fedora/RedHat/CentOS, install the packages ncurses-devel and ncurses:

yum install ncurses-devel ncurses


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.