The role and difference of sudo update and sudo upgrade in Ubuntu

Source: Internet
Author: User
sudo apt-get update
This command accesses each URL in the source list and reads the software listing, which is then saved on the local computer. The list of software that we see in the newly made Package manager is updated with the update command.
After the update, you may need to upgrade.
sudo apt-get upgrade
This command will compare the locally installed software with the software listed in the software list you just downloaded, and if you find that the installed software version is too low, you will be prompted to update it. If your software is the latest version, you will be prompted:
0 packages were upgraded, 0 new packages were installed, 0 packages were uninstalled, 0 packages were not upgraded.
In summary, update is the list of updates, and upgrade is the update software.

The role and difference of sudo update and sudo upgrade in Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.