2

Is it necessary to run the command sudo apt-get update each time after installing any software/application?

I know the use of this command. I just want to know when to use it.

1
  • 6
    "After"? Nope. "Before"? Yeah.
    – edwinksl
    Jun 16, 2016 at 5:02

2 Answers 2

7

Before installing software.

sudo apt update updates the list of available packages and their versions, but it does not install or upgrade any packages.

5

No, you should run it before installing or upgrading any application (or other package) to ensure that you get the current version.

Not the answer you're looking for? Browse other questions tagged .