rpmdbsearch
PECL rpminfo >= 0.3.0
rpmdbsearch - Search RPM packages
Code Examples
Example #1 Searching for the package owning a file
Result: Array
(
[0] => Array
(
[Name] => php-cli
[Version] => 7.4.4
[Release] => 1.fc32
[Summary] => Command-line interface for PHP
[Arch] => x86_64
)
)