Browse - Programming Tips - Why I am I getting "gcc: error trying to exec 'cc1plus': execvp: No such file or directory" ?

Date: 2010nov4
OS: Linux
Language: C++

Q.  Why I am I getting "gcc: error trying to exec 'cc1plus': execvp: No such file or directory" ?

gcc -g ... -c myfile.cpp gcc: error trying to exec 'cc1plus': execvp: No such file or directory
A. You are trying to compile a C++ program without the C++ compiler installed. On RedHat/Fedora/CentOS do this:
dnf install gcc-c++