apt search {criteria}
search can be used to search for the given regex(7) term(s) in the list of available
packages and display matches. This can e.g. be useful if you are looking for packages
having a specific feature. If you are looking for a package including a specific file
try apt-file.
apt list {criteria}
list is somewhat similar to dpkg-query --list in that it can display a list of
packages satisfying certain criteria. It supports glob(7) patterns for matching
package names as well as options to list installed (--installed), upgradeable
(--upgradeable) or all available (--all-versions) versions.
这是手册有用的地方:
用简单的英语,
apt search {criteria}
您可以找到符合您在名称、描述或其他元数据中设置的标准的包。apt list {criteria}
但是,您可以选择根据包的名称以及它们是否已安装、当前可升级或仅存在(在包列表缓存的本地副本中)列出包。