title: Install g++ 4.9 on Mint 17.2
body: <p>I'm trying to install g++ 4.9 or greater in order to build mapbox on Android. The instructions state I need g++ 4.9 or greater. I found the following instructions, but they don't work.</p>
  
  <pre><code>sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
  sudo apt-get update
  sudo apt-get install g++-4.9
  </code></pre>
  
  <p>The last command says:</p>
  
  <pre><code>~ $ sudo apt-get install g++-4.9
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Package g++-4.9 is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  
  E: Package 'g++-4.9' has no installation candidate
  </code></pre>
  
  <p>I also tried from Synaptic Package Manager and got the following:</p>
  
  <pre><code>g++:
    Depends: cpp (&gt;=4:4.9-1ubuntu7) but 4:4.8.2-1ubuntu6 is to be installed
    Depends: gcc (&gt;=4:4.9-1ubuntu7) but 4:4.8.2-1ubuntu6 is to be installed
   Depends: g++-4.9 (&gt;=4.9) but it is not installable
   Depends: gcc-4.9 (&gt;=4.9) but it is not installable
  </code></pre>
  
  <p>How can I get g++ 4.9 on my computer?</p>
  
  <p>Thanks.</p>