How do I install g++ for Fedora?


How do I install g++ for Fedora Linux? I have been searching the dnf command to install g++ but didn't find anything.

How do I install it?

I have already installed gcc

This question is tagged with c++ linux g++ fedora dnf

~ Asked on 2012-10-18 10:48:23

The Best Answer is


The package you're looking for is confusingly named gcc-c++.

~ Answered on 2012-10-18 10:50:16


instead of g++ you have to write gcc-c++

sudo dnf install gcc-c++

~ Answered on 2012-10-18 10:50:39

Most Viewed Questions: