在centos下安装g++ 使用 yum install g++ 不管用,使用yum install gcc-c++成功安装g++。 ps:解决方法参考地址 http://blog.youkuaiyun.com/z297470279z/article/details/7449574