ubuntu怎么使用命令搜索软件源中的软件

看看资讯 / 100+人浏览
注意:免费节点订阅链接已更新至 2026-10-29,点击查看详情

E: Unable to locate package Kdevelop-dev 这是一个小伙伴安装软件包时出现的问题,其实LZ通过

sudo apt-get install name 1 

安装软件的时候也会经常不记得一些依赖项的具体名字,毕竟脑容量有限,只能记得关键词,下面就以Kdevelop为例。

sudo apt-cache search Kdevelop //以下为输出 c-cpp-reference - C and C++ programming reference kdev-python - KDevelop Python Plugin kdevelop - integrated development environment for KDE kdevelop-data - data files for the KDevelop IDE kdevelop-dbg - debugging symbols for KDevelop kdevelop-dev - development files for the KDevelop IDE kdevelop-l10n - localization files for the KDevelop IDE kdevelop-pg-qt - LL(1) parser generator based on Qt kdevelop-php - PHP plugin for KDevelop kdevelop-php-dbg - debugging symbols for the KDevelop PHP plugin kdevelop-php-docs - PHP documentation plugin for KDevelop kdevelop-php-docs-l10n - localization files for KDevelop PHP documentation plugin kdevelop-php-l10n - localization files for KDevelop PHP plugin kdevplatform-dbg - debugging symbols for the KDevelop platform kdevplatform-dev - development files for the KDevelop platform kdevplatform-l10n - language package for the KDevelop platform kdevplatform7-libs - shared libraries for the KDevelop platform libkomparediff2-4 - Library to compare files and strings libkomparediff2-dev - Library to compare files and strings - development files libsublime-dev - development files for the sublime user interface library libsublime7 - User interface library qdevelop - A development environment entirely dedicated to Qt4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 

可以对照自己的需求进行安装了?(^?^*)按照上面输出显示:

sudo apt-get install Kdevelop 1 

可能是ubuntu内核更新,包名也会经常改变,如果遇到这种sudo apt-get update后发现还是没有找到对应的包名,那就使用sudo apt-cache search keyword

版权声明:

作者: FreeClashNode

链接: https://www.freeclashnode.com/news/article-2299.htm

来源: www.freeclashnode.com

文章版权归作者所有,未经允许请勿转载。

特别推荐

飞鸟加速
飞鸟加速

高速稳定的网络加速

畅享全球内容,访问 ChatGPT、TikTok、Google 等热门网站。 全平台支持 · 7×24 专业客服 · 采用军工级安全加密传输技术。

免费节点实时更新

最新文章