yum repolist


You have used the yum command for installing and managing packages under your Red Hat Linux Training.

Sometimes you might want to see the information about various yum repositories that you are using on your RHEL machines.

You might need to know where they are getting the packages, number of packages etc.

One way is you can use the cat command to view all the repository files under /etc/yum.repos.d/ … which can be tedious.

Easy way around is to use – yum repolist command.

Here is a illustration from my machine showing yum repolist output.

yum commands redhat training

yum repolist command