Chapter 3. Setting up to Develop Applications Using C and C++
Red Hat Enterprise Linux best supports development using the fully compiled C and C++ programming languages.
-
Select the
Development ToolsandDebugging ToolsAdd-ons during system installation to install the GNU Compiler Collection (GCC) and GNU Debugger (GDB) as well as other development tools. Latest versions of GCC, GDB and the associated tools are available as a part of the Red Hat Developer Toolset toolchain component.
# yum install devtoolset-7-toolchain
- The Red Hat Enterprise Linux repositories contain many libraries widely used for development of C and C++ applications. Install the development packages of the libraries needed for your application using the yum package manager.
- For graphical-based development, install the Eclipse integrated development environment. The C and C++ languages are directly supported. Eclipse is available as part of Red Hat Developer Tools. For the actual installation procedure, see Using Eclipse.
Additional Resources
- Red Hat Developer Toolset User Guide — List of Components

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.