Fedora YUM¶
YUM, the package manager DNF superseded.
On current Fedora and RHEL the yum binary is a wrapper around dnf.
mpm drives it exactly as DNF, only the binary name differs.
Home page: http://yum.baseurl.org
Version requirement:
>=4.0.0
Platforms¶
🅱️ BSD
🐧 Linux
⨂ Unix
Operations¶
Operation |
Supported |
Notes |
|---|---|---|
|
✓ |
|
|
✓ |
|
|
✓ |
exact and extended search backfilled by |
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
|
|
✓ |
Ecosystem¶
Accepted purl types:
pkg:rpm,pkg:yum
Usage¶
$ mpm --yum installed
$ mpm --yum search "query"
$ mpm --yum upgrade --all
$ mpm install pkg:yum/hello
$ mpm --dry-run --yum upgrade --all
Every example above accepts --dry-run, which simulates the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.
Deselect the manager for a single run with --no-yum, disable it from your configuration, or tune its invocation attributes with per-manager overrides.
Command line¶
CLI names, in lookup order:
yumArguments forced before each call:
--color=never --quiet
The version is extracted from the output of yum --version with:
r"(?P<version>\S+)"
Privilege escalation¶
System-wide manager: mpm wraps its privileged operations in sudo out of the box. Instead of letting the tool prompt mid-run, mpm primes the credential cache up-front, with a single branded password prompt at most. Turn escalation off for rootless setups with --no-sudo or the per-manager sudo override.
See privilege escalation for the full policy.
Cooldown¶
State of Fedora YUM’s release-age gating, from the cooldown support table:
Status: ➖ N/A (deprecated alias for
dnfon RHEL-family)
With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --allow-unsupported-managers opts back in.