If you simply want to upgrade all the packages currently installed on the system to their latest available versions without adding or removing anything, you can use the following two commands:
First begin by updating the package list using the following command:
sudo apt-get update
Now run this command to upgrade the installed packages to their latest available versions:
sudo apt-get upgrade
A list of upgrades will be shown, and prompted to continue. Answer y for yes and press Enter.
You can optionally run dist-upgrade command, which will perform any additional upgrades that involve changing dependencies by adding or removing new packages as necessary.
Use the
upgrade
CommandIf you simply want to upgrade all the packages currently installed on the system to their latest available versions without adding or removing anything, you can use the following two commands:
First begin by updating the package list using the following command:
Now run this command to upgrade the installed packages to their latest available versions:
A list of upgrades will be shown, and prompted to continue. Answer y for yes and press Enter.
You can optionally run
dist-upgrade
command, which will perform any additional upgrades that involve changing dependencies by adding or removing new packages as necessary.