Skip to main content

Getting started

Why contribute?

By submitting anonymous usage data you help the Arch Linux community understand which packages, architectures, and mirrors are actually used. Maintainers rely on this data to prioritize their efforts.

Installation

pacman -Syu pkgstats

That's it. A weekly systemd timer is enabled automatically and will submit anonymous usage data after the next reboot. You can check its status with systemctl status pkgstats.timer or run pkgstats help for more options.

Searching for packages

The CLI client can be used to search for packages and show the most popular matches:

$ pkgstats search firefox
firefox                    63.53
firefox-developer-edition  6.30
firefox-i18n-de            3.32
firefox-i18n-en-us         2.65
firefox-ublock-origin      2.55
firefox-adblock-plus       2.07
firefox-i18n-fr            1.61
firefox-i18n-en-gb         1.52
firefox-nightly            1.35
firefox-i18n-ru            1.22

10 of 320 results

See more results at https://pkgstats.archlinux.de/packages?query=firefox

Comparing package statistics

The popularity of one or more packages can be queried:

$ pkgstats show firefox chromium epiphany konqueror
firefox        63.53
chromium       48.80
epiphany       16.33
konqueror      10.62

See more results at https://pkgstats.archlinux.de/compare/packages/chromium,epiphany,firefox,konqueror

Inspecting submitted data

While the systemd timer automatically submits your data, you may want to inspect the data that are being sent:

$ pkgstats submit --dump-json
{
  "version": "3",
  "system": {
    "architecture": "x86_64_v3"
  },
  "os": {
    "architecture": "x86_64"
  },
  "pacman": {
    "mirror": "https://repos.archlinux.org/",
    "packages": [
      "a52dec",
      ...
      "zziplib"
    ]
  }
}

If you are just curious about the CPU architecture that pkgstats detects, simply run:

$ pkgstats arch cpu
x86_64_v3