dnf package items

Handles packages installed by dnf on RPM-based systems.

pkg_dnf = {
    "foopkg": {
        "installed": True,  # default
    },
    "bar": {
        "installed": False,
    },
}


Attribute reference

See also: The list of generic builtin item attributes


installed

True when the package is expected to be present on the system; False if it should be removed.