title: Updating GCC on CentOS 6.2
body: <p>today I was trying to update my gcc and after a search on internet I've found this <a href="http://www.vultr.com/docs/how-to-install-gcc-on-centos-6" rel="nofollow">article</a> but I got stuck. I did what it says but got an error just like my other attempts. On my other attempts I was thinking the links must be broken but in this case this is a new article and I thought something is wrong on my computer. In that article I was just using the update part since I've already have GCC 4.4.6 . And my problem is at the first step :D . I typed <code>sudo yum install svn texinfo-tex flex zip libgcc.i686 glibc-devel.i686</code> but here the terminal gives me the <code>Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</code> I don't know what does that mean . Please don't make the question duplicate because I searched a lot but there is nothing about the error that I am getting. Thanks in advance.</p>
  
  <p>Here is the <code>/etc/yum.repos.d/epel.repo</code> file as requested in the comments.</p>
  
  <pre><code>[epel]
  name=Extra Packages for Enterprise Linux 6 - $basearch
  #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
  mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-&amp;arch=$basearch
  failovermethod=priority
  enabled=1
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
  
  [epel-debuginfo]
  name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
  #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
  mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-    6&amp;arch=$basearch
  failovermethod=priority
  enabled=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
  gpgcheck=1
  
  [epel-source]
  name=Extra Packages for Enterprise Linux 6 - $basearch - Source
  #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
  mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&amp;arch=$basearch
  failovermethod=priority
  enabled=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
  gpgcheck=1
  </code></pre>