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.

andrew.46
  • 39,359
RD017
  • 906

2 Answers2

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.

user.dz
  • 49,176
JdKock
  • 161
5

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

DopeGhoti
  • 733