How to enable dev tool(C++)

Latest response

I install Linux red hat on my laptop and i am a C++ developer but it's don't have C++ complier.
I checked with subscription-manager repos --listed-enabled
But it's shows nothing. How can i download development tool?


Hi Saurabh,

Which version of RHEL did you install? Please run below command:

cat /etc/redhat-release

This helps us to tell you how to install a C++ compiler provided by Red Hat.

To install the standard release of GNU C++ compiler you can run:

yum install gcc-c++


Jan Gerrit Kootstra

Red Hat Enterprise Linux release 8.0 (Ootpa)

Thanks it worked.