kent@hu:~/work/03-kernel/linux-4.15.1$ 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.
 *** 
scripts/kconfig/Makefile:202: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:504: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

输入下面命令安装:

sudo apt-get  install libncurses5-dev