[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.


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 on Facebook3Share on Google+0Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Pin on Pinterest0Email this to someonePrint this page

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 *