Name

Pkg::PkgInstalled — returns 'true' if the package is installed in the system

Synopsis

boolean PkgInstalled ( string package );
 

Parameters

string package

name of the package

Return

boolean

Description

tag can be a package name, a string from requires/provides or a file name (since a package implictly provides all its files)

Usage

   Pkg::PkgInstalled("glibc") -> true