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
Share this page:

Suggested articles

1 Comment(s)

Add comment

Comments

By: Paolo

I needed to do this...had to to sudo apt...