Linux Package Management Cheat Sheet/Upgrade installed packages

Upgrade installed packages without removing old ones.

Section: APT and Debian/Ubuntu

Upgrade installed packages

bash
bash
sudo apt upgrade
Explanation

Use `full-upgrade` when dependency changes are expected.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing APT and Debian/Ubuntu
Perform full upgrade
Handle dependency changes and package removals if needed.
OpenIn sheetbashsame section
List upgradable packages
Show packages that can be upgraded.
OpenIn sheetbashsame section
Refresh package index
Download latest package metadata.
OpenIn sheetbashsame section
Install package
Install one or more packages.
OpenIn sheetbashsame section
Remove package
Remove a package but keep config files.
OpenIn sheetbashsame section
Purge package and config
Remove package plus configuration files.
OpenIn sheetbashsame section