package
Description
Package on the platform or OS
Init
package(name string)
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
name | string | Name of the package |
version | string | Current version of the package |
arch | string | Architecture of this package |
epoch | string | Epoch of this package |
format | string | Format of this package (e.g. rpm, deb) |
status | string | Status of this package (e.g. if it is needed) |
description | string | Package description |
origin | string | Package Origin (optional) |
available | string | Available version |
installed | bool | Indicates if this package is installed |
outdated | bool | Indicates if this package is outdated |
Examples
Check if a package is installed
package("git").installed;