CentOS 安装g++

来源:互联网 发布:怎样使用淘宝网上购物 编辑:程序博客网 时间:2024/04/30 08:06

The only command for yum to install g++ on CentOS is the following:

yum install gcc-c++

You might also want to install it with some more useful packages. Then your command will be:

yum install gcc-c++ compat-gcc-32 compat-gcc-32-c++

Hope this helps you to install g++ under CentOS