apt-get is the command to do package/application management in Debain based machines such as Ubuntu.

There is a slight difference between update and upgrade options.

#apt-get update

Is the command to update the source list, if you modify the source list or you want to make a sync refresh or added new ppa source then you should execute above command.

Where as

#apt-get upgrade

Command will try to download all the packages which are having updates at apt server and then try to install them if you press “y”. This something like System upgrade to new packages.

The following two tabs change content below.
Mr Surendra Anne is from Vijayawada, Andhra Pradesh, India. He is a Linux/Open source supporter who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. He works as Devops Engineer with Taggle systems, an IOT automatic water metering company, Sydney . You can contact him at surendra (@) linuxnix dot com.