我最近安装了 ubuntu 13.04,我是一个新的 linux 用户,但我无法编译 g++ 代码。
它说
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected package>
当我尝试g++
使用以下语句安装时
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.8
它说:
The following packages have unmet dependencies:
g++-4.8 : Depends: gcc-4.8 (= 4.8.1-2ubuntu1~13.04) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not installable
Depends: libisl10 (>= 0.10) but it is not installable
E: Unable to correct problems, you have held broken packages.
将感谢您的帮助。