This post will help you to understand difference between yum update and yum upgrade.
If you are interested in learning, Request you to go through the below recommended tutorial.
DevOps Full Course Tutorial for Beginners - DevOps Free Training Online
Docker Full Course Tutorial for Beginners - Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners - Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners - Ansible Free Training Online
Openstack Full Course Tutorial for Beginners - Openstack Free Training Online
Would you like to know the difference between "yum update" and "yum upgrade".
Here is the difference of "yum update" and "yum upgrade", which are quite simple.
yum update - If you run the command without any packages, update will update every currently installed package. If one or more packages or package globs are specified, Yum will only update the listed packages. While updating packages, yum will ensure that all dependencies are satisfied.
If the –obsoletes flag is present yum will include package obsoletes in its calculations, this makes it better for distro-version changes.
yum upgrade - This is exactly the same as the update command with the –obsoletes flag set.
Remarks:
The above behaviour only applies when the obsolutes=0 is set in the yum.conf.
1 is the default and they are the same and both do obsoletes.
0 means that upgrade does handle obsoletes, and update does not.
Hope you have found the difference of "yum update" and "yum upgrade".
Support Us: Share with your friends and groups.
Stay connected with us on social networking sites, Thank you.
difference between yum update and yum upgrade, yum update vs yum upgrade, what is the difference between yum update and yum upgrade, yum update vs upgrade
Difference between yum update and yum upgrade
Here is the difference of "yum update" and "yum upgrade", which are quite simple.
yum update - If you run the command without any packages, update will update every currently installed package. If one or more packages or package globs are specified, Yum will only update the listed packages. While updating packages, yum will ensure that all dependencies are satisfied.
If the –obsoletes flag is present yum will include package obsoletes in its calculations, this makes it better for distro-version changes.
yum upgrade - This is exactly the same as the update command with the –obsoletes flag set.
Remarks:
The above behaviour only applies when the obsolutes=0 is set in the yum.conf.
1 is the default and they are the same and both do obsoletes.
0 means that upgrade does handle obsoletes, and update does not.
Hope you have found the difference of "yum update" and "yum upgrade".
Related Content on Linux might be useful to you to improve your Linux Skills.
How to Configure IP Address on Ubuntu using Netplan
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.
Stay connected with us on social networking sites, Thank you.
difference between yum update and yum upgrade, yum update vs yum upgrade, what is the difference between yum update and yum upgrade, yum update vs upgrade
0 Comments