Answers:
该apt-cache search
命令将返回name
包名称或描述中包含的所有包:
apt-cache search name
有了软件包名称后,就可以使用apt-cache show
和apt-cache showpkg
命令获取有关软件包的更多详细信息。
apt-cache show package_name
apt-cache showpkg package_name
apt list package_name
更容易 apt search query_string
如果要在包数据库中搜索给定字符串的所有实例。
尽管aptitude和apt-cache都能很好地完成工作,但是有一个新手正在筹划中。轴缓存。
axi-cache的工作原理与apt-cache相似,但是适用于类固醇。;)它使用称为xapian的复杂工具来建立索引,然后查询该索引。它也将名为http://wiki.debian.org/Debtags>debtags的内容与索引捆绑在一起。Debtags允许您创建粘贴到Deb程序包的小标签。可以肯定地说,btags是搜索软件包和工具以完成工作的有力方法。
例如,如果您想要Debian中的WebDAV客户端,则可以执行此操作。
axi-cache search protocol::webdav
该搜索在我的机器上产生了该错误;
axi-cache search protocol::webdav
14 results found.
Results 1-14:
100% gstreamer0.10-gnomevfs - GStreamer plugin for GnomeVFS
100% sitecopy - A program for managing a WWW site via FTP, DAV or HTTP
100% davfs2 - mount a WebDAV resource as a regular file system
100% blosxom - light, feature-packed weblog app with plugin extensibility
100% lighttpd-mod-webdav - WebDAV module for lighttpd
100% nd - small command line interface to WebDAV servers
100% cadaver - command-line WebDAV client
100% subversion-tools - Assorted tools related to Subversion
100% libapache2-svn - Subversion server modules for Apache
100% libcommons-vfs-java - Java API for accessing various filesystems
100% subversion - Advanced version control system
100% eldav - interface to the WebDAV servers for Emacs.
100% libhttp-dav-perl - WebDAV client library for Perl, and "dave" CLI client
100% fusedav - filesystem to mount WebDAV shares
More terms: webdav servers authoring versioning files subversion remote
More tags: network::client protocol::http role::program implemented-in::c interface::commandline protocol::ftp devel::rcs
如您所见,出现了很多工具,如果您不确定自己要寻找的是什么,但是知道例如您正在寻找的问题区域,这将非常方便。
作为根:
apt-get search <package name>
如果您对此一无所知,通常最好运行:
command --help
看看如何使用该命令。或看看使用的手册页
man <command>