+ -
当前位置:首页 → 问答吧 → 菜鸟 求助 关于 G++

菜鸟 求助 关于 G++

时间:2011-11-30

来源:互联网

用的是ubuntu 11.1

用G++ 时总是提示

The program 'g++' can be found in the following packages:
 * g++
 * pentium-builder
Try: sudo apt-get install <selected package>

hello@ubuntu:~$ sudo apt-get install pentium-builder 
Reading package lists... Done
Building dependency tree  
Reading state information... Done
E: Unable to locate package pentium-builder

sudo apt-get install g++
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

这是什么原因?

如何解决?

先谢了..


作者: contentroot   发布时间: 2011-11-30

不会ubuntu
在centos和fedora里,g++是在gcc-c++包里

作者: ouyh12345   发布时间: 2011-11-30