Installing C and C++ Compiler on RHEL5/6 Linux

This post will guide you how to install c and c++ compiler under RHEL 5/6 Linux system. How do I get the comipler package on RHEL 5/6 Linux. If you are working on the RHEL 5 Operating system, and you want to compile a C or C++ program, how to compile it with C or C++ compiler.

Installing C and C++ Compiler on RHEL5/6 Linux


To compiler c or c++ compiler on RHEL 5/6 system, you need to install the following packages: gcc, gcc-c++, autoconf and automake.

Autoconf package used to configure source code and mekfiles.

Automake tool is used to generate the executable file from c or c++ source file.

gcc tool is used to compile C program.

Type the following command to install c and c++ compiler:

# yum install gcc gcc-c++ autoconf automake

 

You might also like:

Sidebar



back to top