Last Updated on
Insight: How To list YUM Repositories RHEL / CentOS
In this tutorial, we are going to talk about the procedure of listing out YUM repositories in RHEL and CentOS 8. YUM (Yellow Dog Updater Modified) is a package management tool.
How To list YUM Repositories RHEL / CentOS
Run the following command in your terminal to list out all repositories configured under YUM.
List details of YUM repositories
Run the following command with -v switch to list out the details of YUM repositories. You can view the details like name, id, number of packages available, etc.
yum -v repolist
List enabled YUM repositories
Run the following command to view the enabled YUM repositories:
yum repolist enabled
List disabled YUM repositories
Run the following command to list only disabled yum repositories as well.
yum repolist disabled
List all configured YUM repositories
yum repolist all
List all available packages in repositories
yum list available |more