Linux Kernel & OS

Fedora 46 to drop legacy DNF4 stack and modularity support

Key Takeaway

FESCo has approved removing the remaining DNF4 components and the modularity feature from Fedora 46, completing the transition to DNF5 that began in Fedora 41.

Summary

The Fedora Engineering Steering Committee (FESCo) has approved a change proposal to remove the legacy DNF4 software stack and support for the modularity initiative in Fedora 46. Fedora switched its default package manager to DNF5, a C++ rewrite, with the Fedora 41 release in October 2024, but remnants of DNF4 and modularity remain in the distribution and in the tooling used to build and release Fedora Linux.

After several weeks of deliberation, FESCo greenlit the plan, though the LWN report notes that more planning and porting work is required before the DNF4 components can be removed for good. The change affects Fedora packagers, release engineers, and users who still rely on DNF4-specific behavior or modularity streams, and it signals the final phase of the distribution's package-management transition.

What changes in Fedora 46

  • DNF4 removal: The legacy DNF4 package manager stack, which was superseded by the C++ DNF5 in Fedora 41 (October 2024), will be removed entirely in Fedora 46.
  • Modularity retirement: Support for the modularity initiative, which allowed multiple components with different lifecycles to coexist, will also be dropped.
  • Build and release tooling: Remnants of DNF4 persist throughout the tooling used to build and release Fedora Linux, so porting work is needed before removal is complete.
  • FESCo approval: The Fedora Engineering Steering Committee gave the green light after a few weeks of deliberation and discussion.

Why it matters

For Fedora users and packagers, the removal of DNF4 and modularity simplifies the package-management stack and eliminates a long-standing source of confusion between two parallel toolchains. It also forces any remaining dependent tooling in the Fedora build and release pipeline to be ported to DNF5, which should reduce maintenance burden and align Fedora with the modern DNF5 codebase ahead of future releases.

Original reference: lwn.net →