Skip to content

Feature package managers

Miroslav Suchý edited this page Nov 30, 2020 · 3 revisions

DNF

This is default package manager for mock. You can enforce it (e.g. in older Mock) using>

config_opts['package_manager'] = 'dnf'

YUM

Yum is still used in RHEL 7 and olders. You can enable it using

config_opts['package_manager'] = 'yum'

MicroDNF

MicroDNF is written in C and does not need Python. It is present in minimal OCI containers. It can be enabled using:

config_opts['package_manager'] = 'microdnf'

However, MicroDNF still does not have buildep command. Current implementation still install DNF (using microdnf) and use DNF to query the build deps.

Clone this wiki locally