← 返回命令列表

Linux command

pacman-q 命令

文本

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

常用示例

Example

tldr pacman query

说明

pacman -Q is the short form of pacman --query, which queries the local package database. It allows listing installed packages, checking package information, and querying files owned by packages.

FAQ

What is the pacman-q command used for?

pacman -Q is the short form of pacman --query, which queries the local package database. It allows listing installed packages, checking package information, and querying files owned by packages.

How do I run a basic pacman-q example?

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