Package Test Condition
Previous Topic  Next Topic 

This condition checks to see if a package is installed in the target system's default package manager.  This condition will determine what the default package manager is for the target system and then attempt to determine if the given package is installed by querying the package manager.


Note

Currently-supported package systems are: DPKG and RPM.


Technical Detail

RPM will use 'rpm -q $package'


and


DPKG will use 'dpkg -s $package'


and then check the exit code.




Standard Properties 

See Standard Condition Properties.



Advanced Properties


Operator

    is installed

True if the package is installed.

    is not installed

True if the package is not installed.


Package

The name of the package to check.