[How To] Install GNU C / C++ (gcc) compiler on Linux

Share with all..

While installing application from binary, following error occurred

checking whether the C++ compiler works... no
configure: error: in `/usr/local/src/iptux':
configure: error: C++ compiler cannot create executables

While checking the log, it was found to be issue with missing c/c++ compiler.

If you find that GNU C  / C++ compiler is missing , it can be installed using yum or apt-get utility.


yum install gcc gcc-c++ autoconf automake


sudo aptitude install build-essential

This will install the compiler which should resolve the issues while installing new applications.

Share with all..

About Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *