Problem scenario: When trying to compile a C++ program (e.g., $ gcc hello.cpp), you receive this error:
"gcc: error trying to exec 'cc1plus': execvp: No such file or directory"
What do you do?
Solution
Install gcc-c++. For a RedHat distribution of Linux, use this command:
yum -y install gcc-c++