pyepr.hardware.XeprAPI_link¶
Attributes¶
Classes¶
Functions¶
|
Get the version and release of a package installed via dnf. |
Module Contents¶
- pyepr.hardware.XeprAPI_link.get_package_version_from_dnf(package_name)[source]¶
Get the version and release of a package installed via dnf.
- Parameters:
- package_namestr
The name of the package to check.
- Returns
- ——-
- dict or None
A dictionary with ‘version’ and ‘release’ keys if the package is found, otherwise None.