Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Today installed CentOs 6.4 fresh new on my workstation.

I wanted to install g++. With my surprise I didn't succeed by using

 yum install gcc-g++

The thing is that even by doing a search I don't get any result.

 # No package available
 yum search g++

On top of that I installed successfully gcc.

Do you know whether I am using the wrong package name or what should I do?

share|improve this question

2 Answers 2

up vote 29 down vote accepted

Have you tried:
yum install gcc-c++

share|improve this answer

I was successful with on CentOS 6.4

    yum install gcc-c++.x86_64
share|improve this answer
    
Also worked for me on CentOS 7. –  Steve HHH Nov 11 '14 at 0:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.