Problem adding a ppa

Posted by Roman Rdgz on Ask Ubuntu See other posts from Ask Ubuntu or by Roman Rdgz
Published on 2012-09-27T07:25:20Z Indexed on 2012/10/03 9:49 UTC
Read the original article Hit count: 191

Filed under:
|

I want to install gcc compiler 4.7 to use c++11 features. I have looked on the internet for instructions, and I found in several websites these steps:

sudo add-apt-repository ppa:Ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.7 g++-4.7

The problem is that my console freezes when adding the ppa.

At first I thought it was due to having an old Ubuntu version (11.04). So I have upgraded to 11.10 and then 12.04, and everything seems to work OK. But still having the same problem.

Any help?

© Ask Ubuntu or respective owner

Related posts about PPA

Related posts about aptitude