Which package provides `g++` compiler in Red Hat Enterprise Linux?

Solution Verified - Updated -

Issue

  • Need to know which package provides g++ in Red Hat Enterprise Linux 5.
  • The package gcc is already installed on the system but g++ command is not available.

Environment

  • Red Hat Enterprise Linux Server/Desktop 6
  • Red Hat Enterprise Linux Server/Desktop 5
  • gcc
  • gcc-c++

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.