How do I install g++ for Fedora?

saplingPro picture saplingPro · Oct 18, 2012 · Viewed 184.6k times · Source

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

Answer

Schwern picture Schwern · Oct 18, 2012

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