Upgrade packages and remove unnecessary dependencies.
Apt upgrade vs full-upgrade. The apt upgrade command upgrades packages to their latest versions and installs new packages if they are required as dependencies. It will not update from one major release to another for example Stretch to Buster. It does not install new Linux kernel of the OS.
Apt upgrade upgrades the apps tools and utilities and installs new Linux kernel of the OS. Basically it will apply all package upgrades that do not include changed dependencies. Apt-get remove package_name apt-remove package_name Remove a package with configuration.
Full-upgrade apt-get 8 performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole. It fetches the latest package lists for PPAs and repositories on your system and ensures that they are up to date. Apt full-upgrade the correct equivalent for apt-get dist-upgrade applies package upgrades as.
The above command will basically upgrade everything in your system all the packages and the kernel to the latest versions as supported by your repositories. Dnf system-upgrade see note While distro-sync is the most direct functional equivalent dnf system-upgrade should be used to upgrade from one release to another eg. Apt full-upgrade upgrades the apps tools and utilities and installs new Linux kernel of the OS.
The upgrade command actually upgrades and installs the. Apt-get update updates the list of available packages and their versions but it does not install or upgrade any packages. This article will help you to understand and differentiate the apt-get upgrade and apt-get dist-upgrade.
This is a multi-step process as described here. Apt-get upgrade vs apt upgrade vs apt full-upgrade. To keep your system up to date update and upgrade commands are used.