Install C,C++ compiler on Redhat
In order to compile and use c/c++ under redhat we need following packages:
GNU GCC C Complier : (gcc): This package ontain gnu compiler
GNU GCC C++ complier (gcc-c++): This will add support to gcc
autoconf: this will use to configure source code.
automake: Controlling generation of executables program from program source file.
First of all copy the rpm packages from cdrom
1. To install gcc we need following packages to install first
glibc-devel
libgomp
libgomp.so.1
After installing this packages install gcc
# rpm -ivh gcc*
2. To install gcc-c++, first install following rpm
libstdc++-devel
After this install gcc-c++
# rpm -ivh gcc-c++*
3. Install automake rpm
# rpm -ivh automake*
4. Install autoconf rpm, before installing it install following package
imake
After installing , install autoconf
# rpm -ivh autoconf*

Leave a Reply