How Do You Enable All Yum Repositories That Are Available?

Problem scenario
You want to write a script that will show which Yum repositories are available to you. You want each one enabled. How do you accomplish this?

Solution
Run this command: sudo yum-config-manager --enable *

Leave a comment

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