Dnf sits on top of rpm (formerly yum did this, formerly up2date did this) the same way apt sits on top of dpkg.
While ultimately they both provide similar general functionality (installing and updating packages) the specific command syntax and switches differ. And some commands imo are more useful than others.
Isn’t dnf the equivalent of apt? I don’t think I’ve ever used rpm, but wouldn’t that be more like using gdebi for deb-packages?
Dnf sits on top of rpm (formerly yum did this, formerly up2date did this) the same way apt sits on top of dpkg.
While ultimately they both provide similar general functionality (installing and updating packages) the specific command syntax and switches differ. And some commands imo are more useful than others.