amesh@ramesh-HP-630-Notebook-PC:~$ sudo apt-get install ncurses-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
libncurses-dev is already the newest version (6.2-0ubuntu2).
libncurses-dev set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-5.8.0-53-generic linux-hwe-5.8-headers-5.8.0-53 linux-image-5.8.0-53-generic linux-modules-5.8.0-53-generic
linux-modules-extra-5.8.0-53-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
ramesh@ramesh-HP-630-Notebook-PC:~$ sudo apt install git fakeroot build-essential ncureses-dev xz-utils libssl-dev bc flex libel f-dev dison
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ncureses-dev
E: Unable to locate package libel
E: Unable to locate package f-dev
E: Unable to locate package dison
答案1
这是因为 Ubuntu 存储库中没有名为ncureses-dev
、libel
f-dev
和 的软件包dison
,您可以自行检查packages.ubuntu.com。
不清楚您想要实现什么,问题标题(设置内核)似乎与问题的其余部分无关。您应该具体询问您要做什么。