Dnf is the next-generation package manager used in modern RPM-based distributions like Fedora and CentOS 8.