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.
Latest posts by Surendra Anne (see all)
- Docker: How to copy files to/from docker container - June 30, 2020
- Anisble: ERROR! unexpected parameter type in action:
Fix - June 29, 2020 - FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018