apt-get update or apt update

Discussion in 'Server Operation' started by unsichtbare, Sep 26, 2019.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    'apt-get update' or 'apt update,' that is the question?
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Both should work just fine in any latest ubuntu server terminal but the former is preferred in a bash script.
     
    unsichtbare likes this.
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Isn't the whole Debian distro trying to drop apt-get in favor of just apt?

    I gotta admit, habit has me always running apt-get!!
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I think that is what ubuntu trying to do, not sure about debian though.
     
    unsichtbare likes this.

Share This Page