C-programming - Install c cpp compiler linux, How to install C and C++ compiler
Install c cpp compiler linux
To install c or c++ compilers on linux use yum or rpm.In order to compile and use c/c++ under Linux you need following packages
1) auoconf 2) automake 3) gcc [GNU GCC C compiler] 4) gcc-c++ [GNU GCC C++ compiler]
autoconf : GNU's Autoconf is a tool for configuring source code and
Makefiles.
make/automake : A GNU tool for controlling the generation of executables
and other non-source files of a program from the program's source files.
GNU GCC C compiler (gcc) : The gcc package contains the GNU Compiler
Collection version 4.1
GNU GCC C++ compiler (gcc-c++): This package adds C++ support to the GNU
Compiler Collection.
On RHEL or Fedora:
To install C and C++ compiler on linux the gcc and gcc-c++ are enough
# yum install gcc gcc-c++
This will make the complete installation of C++ and C++ on LINUX
# yum install gcc gcc-c++ autoconf automake
UBUNTU:
If you want to develop program's in C or C++ you to install or to update the
package. I ubuntu the default installation will not come with development tools.
Synaptic pckg manager is a very usefull tool in ubuntu. This can be used
to install many development tool.
Just look for Synaptic pckg manager and put check for gcc 3.4 or later, glibc or
any other package you need, then update.
In ubuntu you can install the build-essential for C and C++ compilers.
# sudo aptitude install build-essentialThis will install all the required packages for C and C++ compilers.
The topic on C-programming - Install c cpp compiler linux is posted by - Math
Hope you have enjoyed, C-programming - Install c cpp compiler linuxThanks for your time