[error] Unable to find the ncurses libraries的解决办法

[error] Unable to find the ncurses libraries的解决办法
我们在编译内核时,执行make menuconfig可能看如这样的错误: *** Unable to find the ncurses libraries or the *** required header files. *** ‘make menuconfig’ requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. 解决办法如下: CentOS: yum install -y ncurses-devel Ubuntu: sudo apt-get insatll ncurses-dev