You can Watch all our Tutorials and Training Videos for Free on ourYouTube Channel

Difference between yum update and yum upgrade

Would you like to know the difference between "yum update" and "yum 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.

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.

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

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
whatsapp logo