CentOSFedoraLinuxOperating SystemsRedHatUbuntu

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

Abhijit Sandhan

Love to Automate, Blog, Travel, Hike & spread Knowledge!

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button