Linux::Utils::RPM - Wrapper class for the 'rpm' command.
version 0.002
$rpm = Linux::Utils::RPM->new; $aref = $rpm->queryAll(rpmName => $rpmName);
none
Query all installed packages.
Returns: ArrayRef[Str]
$aref = $rpm->queryAll([rpmName => $rpmName]);
The name of the rpm package to query. This arg can contain wildcards.
Query for the package owner of a given file.
Returns: Str|Undef
$owner = $rpm->queryFileOwner(file => $file);
The name of the file you wish to search with.
List files in package.
$aref = $rpm->queryList(rpmName => $rpmName);
The name of the rpm package to query.
To install Linux::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::Utils
CPAN shell
perl -MCPAN -e shell install Linux::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.