Bootstrap FreeKB - YUM - yum repolist (list enabled repositories)
YUM - yum repolist (list enabled repositories)

Updated:   |  YUM articles

The yum repolist command will the repositories you have enabled. Refer to enable or disable a yum repository.

yum repolist

 

Something like this should be returned.

repo id                   repo name                                           status
!base/7/x86_64            CentOS-7 - Base                                     10,072
!epel/x86_64              Extra Packages for Enterprise Linux 7 - x86_64      13,501
!extras/7/x86_64          CentOS-7 - Extras                                      448
!updates/7/x86_64         CentOS-7 - Updates                                   1,155

 

The repos should be listed in .repo files in the /etc/yum.repos.d directory.

~]# ll /etc/yum.repos.d
-rw-r--r--. 1 root root 7378 Mar 12 04:19 centos.repo



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter dcdf1d in the box below so that we can be sure you are a human.