← 返回命令列表

Linux command

pacsift 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pacsift

Example

pacsift --satisfies [package]

Example

pacsift --local --name [pattern]

Example

pacsift --local --foreign

Example

pacsift --local --reason explicit

Example

pacsift --exact --repo [extra] --name [package]

说明

pacsift queries and filters packages from pacman databases with flexible criteria. Part of the pacutils collection, it provides more powerful filtering than basic pacman queries. The tool can filter by various attributes: name patterns, repository, installation status, dependencies, groups, and more. Multiple filters can be combined to narrow down results. Output is a list of package names suitable for piping to other pacutils commands or pacman.

参数

--satisfies _dep_
Filter packages that satisfy a dependency
--repo _name_
Filter by repository
--local
Search only installed packages
--sync
Search only sync databases
--name _pattern_
Filter by package name
--group _name_
Filter by group membership
--provides _pkg_
Filter packages that provide something
--depends _pkg_
Filter packages that depend on something
--exact
Match values exactly
--regex
Treat values as extended case-insensitive regular expressions
--invert
Return packages that do NOT match
--any
Return the union rather than the intersection of matches
--foreign
Show packages not found in sync databases (e.g., AUR packages)
--native
Show packages found in sync databases
--reason _reason_
Filter by install reason (explicit or depend)
--null=_sep_
Set alternate separator for stdin values (default: NUL)

FAQ

What is the pacsift command used for?

pacsift queries and filters packages from pacman databases with flexible criteria. Part of the pacutils collection, it provides more powerful filtering than basic pacman queries. The tool can filter by various attributes: name patterns, repository, installation status, dependencies, groups, and more. Multiple filters can be combined to narrow down results. Output is a list of package names suitable for piping to other pacutils commands or pacman.

How do I run a basic pacsift example?

Run `pacsift` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --satisfies _dep_ do in pacsift?

Filter packages that satisfy a dependency