Package

class dnf.package.Package

Represents a unit of software management, typically corresponds to an RPM file.

arch

Architecture of the package (string).

buildtime

Seconds since the epoch when the package was built (integer).

debug_name

The name of the gebug-info package (string).

downloadsize

The size of rpm package in bytes (integer).

epoch

Epoch of the package (integer)

files

Files the package provides (list of strings)

installtime

Seconds since the epoch when the package was installed (integer).

installsize

Space in bytes the package takes on the system after installation (integer).

remote_location(schemes=('http', 'ftp', 'file', 'https'))

The location from where the package can be downloaded from (string). If information unavailable it returns None. schemes limits result to list of protocols.

name

The name of the package (string).

obsoletes

Packages that are obsoleted by the package (list of Hawkey.Reldep).

provides

Package’s provides (list of Hawkey.Reldep).

release

Release of the package (string).

requires

Package’s requirements (list of Hawkey.Reldep).

source_debug_name

The name of the source gebug-info package (string).

source_name

The name of the source package (string).

sourcerpm

Full name of the SRPM used to build this package (string).

version

Version of the package (string).