• jaybone@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    13 days ago

    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.

    • ExtremeUnicorn@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      13 days ago

      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?

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        6
        ·
        13 days ago

        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.