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
  • 493
  • 6
  • 13
  • 1
    not necessarily for every install from terminal. when you add a PPA to install an app, you have to run the command. – Ravan Jan 08 '16 at 16:01
  • Thanks for duplicating the questions..:(..I described why the question was different.. – Rahul Singh Jan 08 '16 at 16:21
  • ok let it go..actually i did give the reason why the question was different.Ok it doesn't matter now..Thankx for the help bdw..:) – Rahul Singh Jan 08 '16 at 16:28

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,163
  • 7
  • 94
  • 131