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

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.

CentOS/RedHat/Fedora:

yum install gcc gcc-c++ autoconf automake

Ubuntu:

sudo aptitude install build-essential

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

Share on Facebook3
Share on Google+6Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn2Share on Tumblr0Digg thisPin on Pinterest0Share on Reddit0Email this to someonePrint this page
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. CentOS/RedHat/Fedora: yum install gcc gcc-c++ autoconf automake Ubuntu: sudo aptitude install build-essential This will install the compiler which should resolve the issues while installing new applications.

Review Overview

User Rating: Be the first one !

About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing knowledge!

Leave a Reply

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

CAPTCHA