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> <releasever> [<repoquery options> ...] <pkg-or-file-path>
If the <distro>
argument is specified without a path, rpmdistro-repoquery
will look in /usr/share/rpmdistro-repoquery
.
For a special case, openSUSE Tumbleweed would work as the following with repoquery:
$ ./rpmdistro-repoquery ./distros/opensuse-tumbleweed 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 20190423 [<repoquery options> ...] <pkg-or-file-path>
A list of available Tumbleweed snapshots to query is published by openSUSE.
This tool only supports Amazon Linux 2023 and newer.