How do I install g++ via Yum ?

Issue

How do you install g++ via Yum ? You may also be asking this due to receiving the following error when trying to compile from source,

make[1]: g++: Command not found

Solution

To install g++ via yum run the command,

yum install gcc-c++
Rick Donato

Want to become a Linux expert?

Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial