rpminfo

PECL rpminfo >= 0.1.0
rpminfo - Get information from a RPM file
Manual
Code Examples

rpminfo( string$path, [bool$full = false], [stringerror] ): array

Retrieve information about a local file, a RPM package.

Parameters

path

Path of the RPM file.

full

If true all information headers for the file are retrieved, else only a minimal set.

error

If provided, will receive the possible error message, and will avoid a runtime warning.

Return Values

An array of information or NULL on error.

Related Functions

Example of rpminfo

Show all examples for rpminfo

PHP Version:


Function rpminfo:

RpmInfo Functions

Most used PHP functions