====== Ubuntu - apt - Upgrade installed packages ====== Same as **apt-get upgrade --with-new-pkgs.*** ---- sudo apt upgrade **NOTE:** This will upgrade all installed packages. ---- ===== To upgrade only a specific program ===== sudo apt upgrade ---- ===== Another way to perform a complete upgrade ===== The same as **apt-get dist-upgrade**. sudo apt full-upgrade **WARNING:** It is recommended to avoid using this command. * The command **apt upgrade** is very obedient. * It never tries to remove any packages or tries to install a new package on its own. * The command **apt full-upgrade**, on the other hand, is proactive. * It looks for dependencies with the newer version of the package being installed and it tries to install new packages or __remove__ existing ones on its own. * It has a “smart” conflict resolution system. It will attempt to upgrade the most important packages, at the expense of the less important ones. * This may lead to the removal of some packages, which you might not want. This is the main reason why dist-upgrade should be avoided on production machines. ----