title: How to remove yum repositories
body: <p><em>(This seems to be a rather straightforward question but I can't find the answer on SOF. Let me know if I missed a post and I will delete this!)</em></p>
  
  <p>Hello! How to delete the repositories that are listed in <code>yum repolist</code>? </p>
  
  <p>For example, when I ran <code>yum reoplist</code>, I got (for example):
  <code>
  repo id                   repo name
  pgdg93/7Server/x86_64     PostgreSQL 9.3 7Server - x86_64
  </code></p>
  
  <p>But <code>man yum</code> does not tell me how to remove the repo if they are no longer in use (e.g. ). I tried <code>sudo yum-config-manager --disable pgdg93/7Server/x86_64</code> but the result of <code>yum repolist</code> is the same. Btw, this repo is installed through <code>rpm install [url]</code></p>
  
  <p>Thanks!</p>