Listing Repositories
You can list the enabled repositories by running one of the following commands:
- RHEL compatible:
yum repolist - SLES:
zypper repos - Ubuntu:
apt-getdoes not include a command to display sources, but you can determine sources by reviewing the contents of/etc/apt/sources.listand any files contained in/etc/apt/sources.list.d/.
The following shows an example of the output of
yum repolist on a RedHat
sytstem:repo id repo name status
base/8/x86_64 RedHat-8 - Base 9,591
epel/x86_64 Extra Packages for Enterprise Linux 8 - x86_64 12,382
extras/8/x86_64 RedHat-8 - Extras 392
updates/8/x86_64 RedHat-8 - Updates 1,962
repolist: 24,327
