No acceptable C compiler found in $PATH – Linux

  • Post last modified:August 26, 2013
  • Post category:Linux
  • Post comments:0 Comments
  • Reading time:1 mins read

You may receive the following error while installing the package from source in Linux server:

No acceptable C compiler found in $PATH

You are receiving this error because the server does not have C compiler installed to compile the source. To fix this error, you can install gcc using the following command:

yum install gcc

You will need the server’s root access to install this package.

Once you install gcc, the error should go away.

Leave a Reply