Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I always like to have the latest version of things, particularly if that thing is gcc, g++ and there has recently been a revision to the c++ standard.

I have forgotten what ppa's I need to add to my system (I think they come from the Ubuntu organization) in order to be able to install g++-4.9.

Please could I be reminded how to complete this process, thanks.

share|improve this question
    
This helped me in the end but not all the steps worked as I expected askubuntu.com/questions/312620/… –  user3728501 Jun 24 at 20:15

1 Answer 1

up vote 1 down vote accepted

You can get all the upstream development tools for Ubuntu 14.04 (and its derivatives) from ppa:ubuntu-toolchain-r/test

Activate it like so:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9

Source: https://wiki.ubuntu.com/ToolChain#PPA_packages

Hope this helps!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.