title: How to install GCC 4.7.2 on Linux Mint?
body: <p>I need to install the latest version of GCC on Linux Mint 13. I found some useful terminal commands for Ubuntu 12.04, but it seems that nothing similar for Mint exists on the Internet...</p>
  
  <p>Edit: I solved the problem, so, in order to help everybody else, write these commands:</p>
  
  <p><code>sudo add-apt-repository ppa:ubuntu-toolchain-r/test</code></p>
  
  <p><code>sudo apt-get update</code></p>
  
  <p><code>sudo apt-get install g++-4.7 c++-4.7</code></p>
  
  <p>And everything works fine. :)</p>