[CENTOS] yum and apt update / upgrade are different

Conclusion

The behavior of yum update and ʻapt update is different. * ʻUpgrade

the difference

command yum (RedHat system: CentOS etc.) apt (Debian system: Ubuntu etc.)
update Update installed packages Updated "List" of installable packages
The package itself has not been updated
upgrade Package update(yum update)
+ Delete unnecessary packages
Upgrade without changing the package configuration
Do not remove unnecessary packages or update the kernel
If the "list" is old (without apt update), the update will be executed based on the old package.
dist-upgrade None Upgrade according to package configuration changes (same as yum upgrade?)

Background

I unconsciously thought that the behavior of yum and ʻapt` was the same. Note that the behavior was different when updating on CentOS or Ubuntu.

Recommended Posts

yum and apt update / upgrade are different
Are macOS and Linux completely different?
update, upgrade summary
yum and rpm
The VIF calculated by Python and the VIF calculated by Excel are different .. ??
Are macOS and Linux completely different?
yum and apt update / upgrade are different
The VIF calculated by Python and the VIF calculated by Excel are different .. ??
Where are matrix products and inner products used in deep learning?