A question about "add-apt-repository"(gcc 4.7 or bumblebee)
- by girlkoo
I install ubuntu 12.04 in my notebook and I use c++. I want to use c++11,so I want to upgrade my gcc to gcc4.7. I do like this:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.7
sudo apt-get install g++-4.7
but when I run "sudo apt-get install gcc-4.7", it just can find gcc-4.7-base not…