Tag Archives: how to install g++ on centos

How to Install g++ on CentOS 4 and CentOS 5

g++ is often necessary for building various packages. But It’s quite hard to install it in CentOS if you don’t know a simple thing: yum install g++ will not work here. yum install compat-g++and yum install gcc-g++ won’t give any result too.  The only command for yum to install g++ on CentOS is the following: yum install gcc-c++… Read More »