Linux upgrade command yum upgrade and yum update difference

  

Linux upgrade command has two yum upgrade and yum update, the two commands are different:

yum -y update

Upgrade all packages and also upgrade software and system kernels

yum -y upgrade

Upgrade all packages only, do not upgrade software and system kernels


< H3>Experimentally test yum -y upgrade and yum -y update

Pre-upgrade

  • System version: centos5.5
  • Kernel version: 2.6.18- 194.el5
  • Modified configuration files have been modified before the upgrade


    yum -y upgrade After the upgrade

  • System version: Centos5.7
  • Kernel version: 2.6.18-194.el5

    yum -y update After upgrading

  • System version: centos5.7< Br>
  • Kernel version: 2.6.18-238.el5


  • Copyright © Windows knowledge All Rights Reserved