Base
dnf.sack.
Sack
The package sack. Contains metadata information about all known packages, installed and available.
query
Return a Query for querying packages contained in this sack.
Query
rpmdb_sack
Returns a new instance of sack containing only installed packages (@System repo). Useful to get list of the installed RPMs after transaction.