← 返回命令列表

Linux command

pkgstats 命令

文本

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

常用示例

Submit

pkgstats submit

Dump JSON

pkgstats submit --dump-json

Search

pkgstats search [term]

Compare

pkgstats show [firefox] [chromium]

Example

pkgstats --help

说明

pkgstats collects and submits anonymous statistics about installed packages to help the Arch Linux community understand package usage patterns. The data helps maintainers prioritize development efforts. Users can also query the collected statistics to see package popularity and compare different packages. Submission is voluntary and privacy-preserving.

参数

--dump-json
With `submit`, print the JSON payload that would be sent instead of submitting.
-h, --help
Display help information.
-V, --version
Display version information.

FAQ

What is the pkgstats command used for?

pkgstats collects and submits anonymous statistics about installed packages to help the Arch Linux community understand package usage patterns. The data helps maintainers prioritize development efforts. Users can also query the collected statistics to see package popularity and compare different packages. Submission is voluntary and privacy-preserving.

How do I run a basic pkgstats example?

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

What does --dump-json do in pkgstats?

With `submit`, print the JSON payload that would be sent instead of submitting.