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".
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".
You need to install the gcc-c++ package: yum install gcc-c++
rpm -qa | grep gc
for me gives only these packages: libgcc-4.4.5-6.el6.x86_64
, gcc-4.4.5-6.el6.x86_64
– Artem Oboturov
Aug 20 '11 at 14:09