ubuntu怎麼使用命令搜索軟件源中的軟件

E: Unable to locate package Kdevelop-dev 這是一個小夥伴安裝軟件包時出現的問題,其實LZ通過

sudo apt-get install name1

安裝軟件的時候也會經常不記得一些依賴項的具體名字,畢竟腦容量有限,只能記得關鍵詞,下面就以Kdevelop為例。

sudo apt-cache search Kdevelop//以下為輸出c-cpp-reference - C and C++ programming referencekdev-python - KDevelop Python Pluginkdevelop - integrated development environment for KDEkdevelop-data - data files for the KDevelop IDEkdevelop-dbg - debugging symbols for KDevelopkdevelop-dev - development files for the KDevelop IDEkdevelop-l10n - localization files for the KDevelop IDEkdevelop-pg-qt - LL(1) parser generator based on Qtkdevelop-php - PHP plugin for KDevelopkdevelop-php-dbg - debugging symbols for the KDevelop PHP pluginkdevelop-php-docs - PHP documentation plugin for KDevelopkdevelop-php-docs-l10n - localization files for KDevelop PHP documentation pluginkdevelop-php-l10n - localization files for KDevelop PHP pluginkdevplatform-dbg - debugging symbols for the KDevelop platformkdevplatform-dev - development files for the KDevelop platformkdevplatform-l10n - language package for the KDevelop platformkdevplatform7-libs - shared libraries for the KDevelop platformlibkomparediff2-4 - Library to compare files and stringslibkomparediff2-dev - Library to compare files and strings - development fileslibsublime-dev - development files for the sublime user interface librarylibsublime7 - User interface libraryqdevelop - A development environment entirely dedicated to Qt412345678910111213141516171819202122232425

可以對照自己的需求進行安裝了♪(^∇^*)按照上面輸出顯示:

sudo apt-get install Kdevelop1

可能是ubuntu內核更新,包名也會經常改變,如果遇到這種sudo apt-get update後發現還是沒有找到對應的包名,那就使用sudo apt-cache search keyword

ubuntu怎麼使用命令搜索軟件源中的軟件


分享到:


相關文章: