Best Answer: How Do I See All Repository in Linux?
Contents

You need to pass the repolist option to the yum command. This option will show you a list of configured repositories under RHEL / Fedora / SL / CentOS Linux. The default is to list all enabled repositories.

How can I get a list of repositories?

Hitting will list public repositories for the user USERNAME. to find all the user’s repos.

Which command prints the repository list in Linux?

The command to list all packages available in repository-name is the one that follows:

  • grep ^Package … …
  • awk ‘{print $2}’ prints the second column for each line (so it filters out everything but the package name)
  • sort -u sorts the lines and outputs only unique lines (removes duplicates)
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest