On a droplet, when Lynis reports that compilers have been found, I've been unable to determine which compilers it means exactly. I'd like to remove these. How can I?

There is another thread, but the "how to find which compilers it's talking about" isn't mentioned.

1 Answer 1


Compiler checks are performed in the test HRDN-7220 which is defined in the include/tests_hardening file.

The tests itself are performed by the include/binaries file and the variable COMPILER_INSTALLED is set when the following files are found within the $PATH variable:

  • as
  • g++
  • gcc

So in short, when Lynis reports that compilers are installed, you have to check the above three files within the PATH directories.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .