you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 5 months ago (3 children)

iirc, apt-get is the version to use in scripts. They keep the input & output consistent so that it won't break things.

Regular old apt is for humans to use at the command prompt, and that's what I use all the time.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 5 months ago (2 children)

    How is apt better for humans?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 5 months ago* (1 child)

    Less options and it expects user input, so when you update and there's a changelog or warning, it shows it to you and you can read it. It doesn't continue because it thinks you're there reading it. The options and output are subject to change, so you don't want it in a script. Apt-get will always have the same options and expected output for automation purposes.

  • source
  • parent
  • hideshow 1 child comment