ubuntu安装软件包命令

ubuntu安装软件包命令

When you are trying to install software on Ubuntu or Debian linux using the apt-get package system, quite often you’ll forget the exact name of the package you are trying to install. Here’s how you can get a little help figuring out what the name is.

当您尝试使用apt-get软件包系统在Ubuntu或Debian linux上安装软件时,常常会忘记要安装的软件包的确切名称。 您可以通过以下方式获得一些帮助,以弄清名称是什么。

Syntax:

句法:

apt-cache search SearchTerm

apt-cache搜索SearchTerm

Example:

例:

> apt-cache search monodevelop

> apt缓存搜索monodevelop

monodevelop – C#/Boo/Java/Nemerle/ILasm Development Environmentmonodevelop-boo – Boo plugin for MonoDevelopmonodevelop-java – Java plugin for MonoDevelopmonodevelop-nunit – NUnit plugin for MonoDevelopmonodevelop-query – MonoQuery plugin for MonoDevelopmonodevelop-versioncontrol – VersionControl plugin for MonoDevelop

monodevelop – C#/ Boo / Java / Nemerle / ILasm开发环境monodevelop-boo – MonoDevelop的Boo插件– MonoDevelopmonodevelop-nunit的Java插件– MonoDevelopmonodevelop-query的NUnit插件– MonoDevelopmonoQuery的MonoQuery插件– MonoDevelop的VersionControl插件– MonoDevelop的VersionControl插件

Rather useful, no? I’ve found it very useful even when I know the name of the package I’m trying to install, you can figure out what the names of extra plugins are, as in the above example. I had initially installed monodevelop, but didn’t realize there was nunit and version control plugins for it.

比较有用,不是吗? 即使我知道要安装的软件包的名称,我也发现它非常有用,就像上面的示例一样,您可以弄清楚额外插件的名称是什么。 我最初安装了monodevelop,但没有意识到有nunit和版本控制插件。

You may also want to run the results through a more, or even a grep. For instance:

您可能还希望通过更多甚至grep来运行结果。 例如:

> apt-cache search firefox | grep plugin

> apt-cache搜索Firefox | grep插件

libflash-mozplugin – GPL Flash (SWF) Library – Mozilla-compatible pluginmozilla-helix-player – the helix audio and video player (browser plugin)j2re1.4-mozilla-plugin – Java plugin for mozilla/firefoxmozilla-acroread – Adobe Acrobat(R) Reader plugin for mozilla / konquerortotem-gstreamer-firefox-plugin – Totem Firefox Plugin – gstreamer versiontotem-xine-firefox-plugin – Totem Firefox Plugin – xine version

libflash-mozplugin – GPL Flash(SWF)库– Mozilla兼容插件mozilla-helix-player – helix音频和视频播放器(浏览器插件)j2re1.4-mozilla-plugin –用于mozilla / firefoxmozilla-acroread的Java插件– Adob​​e Acrobat( R)用于mozilla / konquerortotem-gstreamer-firefox-plugin的阅读器插件– Totem Firefox插件– gstreamer版本totem-xine-firefox-plugin – Totem Firefox插件– xine版本

翻译自: https://www.howtogeek.com/howto/ubuntu/search-for-install-packages-from-the-ubuntu-command-line/

ubuntu安装软件包命令

Logo

更多推荐