NAME

Linux::Utils::RPM - Wrapper class for the 'rpm' command.

VERSION

version 0.001

SYNOPSIS

$rpm = Linux::Utils::RPM->new;

$aref = $rpm->queryAll(rpmName => $rpmName);

ATTRIBUTES

none

METHODS

queryAll

Query all installed packages.

Returns: ArrayRef[Str]

usage:
$aref = $rpm->queryAll([rpmName => $rpmName]);
args:
rpmName [Str] (optional)

The name of the rpm package to query. This arg can contain wildcards.

queryList

List files in package.

Returns: ArrayRef[Str]

usage:
$aref = $rpm->queryList(rpmName => $rpmName);
args:
rpmName [Str] (required)

The name of the rpm package to query.