20 Linux YUM (Yellowdog Updater, Modified) Commands for Package Management

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

67 Responses

  1. Raghavan alias Saravanan Muthu says:

    Just starting with the CentOS and Yum for the first time.. Thanks for the nice write up!

  2. Andrei Sevostianov says:

    I tried to find the ‘yum‘ substitute for ‘apt-key add‘ but wasn’t able to do it. Does it exist?

  3. jrct7 says:

    I had use “yum upgrade yum” but I don’t really understand what’s for, can you explain it please?

    • Ravi Saive says:


      The command is wrong, it should be “yum upgrade” or you can also use “yum update” – both will update your system to latest release version.

  4. sathish says:

    How to degraded the RHEL version, for example 7.5 to 7.2?

    • Ravi Saive says:


      To downgrade the redhat-release package from the current release to previous minor release, use the following command.

      # yum downgrade redhat-release
  5. Shan says:

    Dear, You missed out deplist option in yum

  6. shailendra says:

    Its is really a wonderful article for users who are new and start learning Linux. Dear friend please keep writing for the community.Thank you

  7. Yagnik Pandya says:

    Appreciate for making such a wonderful article !! It is helpful for beginners who wish to be familiar with “YUM” commands.

    Thanks a lot.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.