3

Whenever I am installing anything through the terminal, the provided code includes sudo apt-get update (to update the local repository catalog), but do we have to run the command each time we install something? Does the catalog really get updated so quickly??

This is a different question because I am asking whether I have to use the command before every install. I am not asking what it means since I know what it means, but I don't understand the necessity of updating it every single time.

Chad
  • 573
  • 1
  • 6
  • 14

1 Answers1

4

Generally it is enough to update the repository once a day.
But as the updates are pushed irregularly to the Ubuntu repositories,
it is recommended to update them every time before installing new packages.
In case that you add a PPA to the software repositories, updating them is mandantory.

cl-netbox
  • 31,491