Here is how I instaled the GNU C++ compiler /usr/bin/g++ onto my Fedora Linode.
/usr/bin/g++
yum provides ‘*/cc1plus’ su /usr/bin/yum erase gcc-c++ /usr/bin/yum erase gcc /usr/bin/yum install gcc /usr/bin/yum install gcc-c++ exit