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
  • 38,003
  • 27
  • 156
  • 232
RD017
  • 856

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
  • 48,105
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
  • 4
  • 11