Yum Repo Command

Standard

YUM REPO

To list only enabled repos, enter:

# yum repolist enabled

To list only disabled repos, enter:

# yum repolist disabled

To list all repos (default), enter:

# yum repolist all

To list available packages under a repo called ksplice-uptrack, enter:

# yum --disablerepo="<repo name>" --enablerepo="<repo name>" list available