This tool utilizes DNF to let you query across several RPM-based Linux distributions.
Currently, the tool supports the following distributions:
Ensure that the dnf
and distribution-gpg-keys
packages are installed on your system.
Both are available in the following distributions:
$ ./rpmdistro-repoquery ./distros/<distro>.conf <releasever> [<repoquery options> ...] <pkg-or-file-path>
For a special case, openSUSE Tumbleweed would work as the following with repoquery:
$ ./rpmdistro-repoquery ./distros/opensuse-tumbleweed.conf 0 [<repoquery options> ...] <pkg-or-file-path>
This is because openSUSE Tumbleweed doesn't have a defined release ver, so you can put whatever value you want in the second position.
However, if you want to query various released snapshots for comparisons, you can:
$ ./rpmdistro-repoquery ./distros/opensuse-tumbleweed-snapshot.conf 20190423 [<repoquery options> ...] <pkg-or-file-path>
A list of available Tumbleweed snapshots to query is published by openSUSE.