Not OP. I like apt. But I switched over from redhat/fedora to Ubuntu like 15+ years ago, and I will say the rpm command offered much better options for querying package metadata. What mostly comes to mind is searching for files belonging to a package, or finding what package a file belongs to. dpkg/ apt-* can’t do that out of the box without some additional apt-* tools installed. Which is ok, but a bit extra clunky.
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.
Not OP. I like apt. But I switched over from redhat/fedora to Ubuntu like 15+ years ago, and I will say the rpm command offered much better options for querying package metadata. What mostly comes to mind is searching for files belonging to a package, or finding what package a file belongs to. dpkg/ apt-* can’t do that out of the box without some additional apt-* tools installed. Which is ok, but a bit extra clunky.
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.