11

I have a RHEL 6 machine, which came with gcc but without g++. The gcc version is 4.4.4 20100726 (this is what I got from gcc --version).

How can I get g++ working? Currently, the shell just returns "command not found".

Faheem Mitha
  • 35,108
rkellerm
  • 253

1 Answers1

17

You need to install the gcc-c++ package: yum install gcc-c++

iamsid
  • 2,514