• RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    23
    ·
    edit-2
    9 days ago

    I got mistaken. See replies for explanation

    =======

    Apt: get whatever is in the cached package list

    Apt-get: lookup the package to see the latest version and get that one

    Unless you always apt update, apt-get is the go to choice for modern day Linux

    There’s also the apt-apt command, who triggers any audiophile to start complaining about mainstream music quality these days

    • superkret@feddit.org
      link
      fedilink
      arrow-up
      38
      ·
      10 days ago

      I disagree. According to Debian’s own documentation, apt is a newer front-end for your daily CLI updating and installing needs.
      It has simplified syntax, and combines the most-used functions and options.
      It is not meant for use in scripts, cause the syntax may change between versions.

      The dependency-solver in the back-end is identical.

      tl/dr:
      apt is shorter to type and will have prettier output, starting with Debian 13.
      Use apt-get inside scripts.

        • mutual_ayed@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          10 days ago

          Oh sorry.

          install is already a part of make/cmake as well, so it’d break any of those workflows also.

          The joke I thought I was making was “I’m too lazy to type out what I want, let’s just break the system instead.”