rpmdbinfoGet information from installed RPM 説明
arraynull rpmdbinfo(string
$nevr, bool $full = false)Retrieve information about an installed package, from the system RPM database. パラメータ
戻り値
An array of array of information, or 例例1 A rpmdbinfo example 上の例の出力は以下となります。
Array
(
[0] => Array
(
[Name] => php-pecl-rpminfo
[Version] => 0.4.2
[Release] => 1.fc31
[Summary] => RPM information
[Installtime] => 1586244687
[Arch] => x86_64
)
)
参考
|