title: Installing gcc on rhel 6.1
body: <p>GCC doesnt seem to be installed on my Rhel 6.1 machine. Also, when i did:</p>
  
  <pre><code>sudo yum install gcc 
  </code></pre>
  
  <p>It barfed:</p>
  
  <pre><code>Updating Red Hat repositories.
  Setting up Install Process
  No package gcc available.
  Error: Nothing to do
  </code></pre>
  
  <p>The same command works fine on rhel 5.5. What could be the problem?</p>
  
  <p>Update:</p>
  
  <pre><code>sudo yum search gcc
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>libgcc.x86_64 : GCC version 4.4 shared support library
  libgomp.x86_64 : GCC OpenMP v3.0 shared support library
  
  sudo yum grouplist
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>Loaded plugins: product-id, subscription-manager
  Updating Red Hat repositories.
  Setting up Group Process
  Error: No group data available for configured repositories
  
  
  sudo  yum install repolist
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>Loaded plugins: product-id, subscription-manager
  Updating Red Hat repositories.
  Setting up Install Process
  No package repolist available.
  Error: Nothing to do
  </code></pre>
  
  <p>Update 2:</p>
  
  <pre><code>sudo yum repolist
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>Loaded plugins: product-id, subscription-manager
  Updating Red Hat repositories.
  repolist: 0
  </code></pre>