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
  • 37,085
  • 25
  • 149
  • 228
RD017
  • 826
  • 1
  • 11
  • 25

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
  • 47,137
  • 13
  • 140
  • 258
JdKock
  • 161
  • 2
  • 7
5

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

DopeGhoti
  • 723
  • 4
  • 11