Linux make menuconfig打开失败

OS:Ubuntu 16.04 LTSubuntu

 

使用“make menuconfig”配置kernel时,提示make menuconfig打开失败测试

$ 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.
*** ui

根据报错信息提示,须要安装 ncurses 或者 ncurses-devel,可是安装时都失败了es5

$ sudo apt install ncurses
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 没法定位软件包 ncursesget

 

$ sudo apt install ncurses-devel
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 没法定位软件包 ncurses-develrequire

 

多是Ubuntu将软件包修改了,通过测试,软件包 libncurses5-dev 能够正常安装软件

安装完后,make menuconfig也能够正常使用。配置

 

Ubuntu查找软件包的网址:https://packages.ubuntu.com/file

相关文章
相关标签/搜索