Fix “gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory” in Fedora

Hi Guys,

These days, I am into fixing of Errors, especially on Fedora :-), I run into them first and after fixing it, I make it available to others who might fall prey sometime.

Well, you may be reading this because you started installing or compiling a package from source on your Fedora too, and the error message below; is what you see:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...

ANSWER:

You need g++ in order to go through this. On Fedora the package name is gcc-c++

Open Terminal as root user and run:

# yum install gcc-c++

Re-run what you were doing and this error you pass.

Enjoy!