aptitude でパッケージの検索や表示制限の設定を行うとき、入力された文字列は「検索パターン」として取り扱われます。検索パターンの最も基本的な使用方法は名前を用いたパッケージのマッチですが、aptitude では、それより遥かに複雑な検索を行うことが可能です。ビジュアルインタフェースだけでなく、コマンドラインからの操作の一部でも検索条件を使用できます。詳しくはコマンドラインリファレンスを参照してください。
A search pattern consists of one or more conditions (sometimes known as
「terms」); packages match the pattern if they match all of its
terms. Terms generally start with a question mark (「?」),
followed by the name of the match term, which describes the search that the
term performs: for instance, the term ?name matches package names, while
the term ?version matches package versions. Finally, any additional
parameters to the search term are placed in parentheses (see the
documentation of individual terms for more information on this).