What does apt upgrade do?

The apt upgrade command is used to upgrade all the installed packages on your system to their latest versions. It fetches the latest package information from the repositories and installs the updates for any packages that have newer versions available, while keeping the currently installed packages' dependencies intact.

Here's a basic usage example:

sudo apt update    # Update the package list
sudo apt upgrade   # Upgrade the installed packages

This command will prompt you to confirm the upgrades before proceeding.

0 Comments

no data
Be the first to share your comment!