Chapter 25. Namespace: packages
packages
25.1. Method: findByNvrea
Looks up the details for packages with the given name, version, release, architecture label, and optionally epoch.
The following parameters are available for this method:
- string
sessionKey - string
name - string
version - string
release - string
epoch- If set to something other than empty string, strict matching will be used and the epoch string must be correct; if set to an empty string and if the epoch is null or there is only one NVRA combination, the NVRA combination is returned (Empty string is recommended) - string
archLabel
The following return values are available for this method:
- array:
- struct - package
- string
name - string
version - string
release - string
epoch - int
id - string
arch_label - string
path- The path on that file system that the package resides - string
provider- The provider of the package, determined by the gpg key it was signed with - dateTime.iso8601
last_modified

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.