rpmdbinfoGet information from installed RPM Description
arraynull rpmdbinfo(string
$nevr , bool $full = false )Retrieve information about an installed package, from the system RPM database. Parameters
Return ValuesAn array of array of information or NULL on error. Examples
Example #1 A rpmdbinfo example
The above example will output: Array ( [0] => Array ( [Name] => php-pecl-rpminfo [Version] => 0.4.2 [Release] => 1.fc31 [Summary] => RPM information [Installtime] => 1586244687 [Arch] => x86_64 ) ) See Also
|