Skip to content

Instantly share code, notes, and snippets.

@tuantmb
Last active September 22, 2017 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuantmb/f1aa611a6bb40592606f2e652792cca2 to your computer and use it in GitHub Desktop.
Save tuantmb/f1aa611a6bb40592606f2e652792cca2 to your computer and use it in GitHub Desktop.
Fix Error "VMware Kernel Modules Updater - gcc 6.4.0 compiler not found"

As the error description said, the gcc 6.4.0 compiler is not found (your current gcc version maybe also not be 6.x version). So what we need to do is install gcc 6.x version. The fix flow as below:

  • Check & install gcc version 6.
  • Get full path of the new gcc (version 6) by using locate or which command with parameter is gcc-6.
  • Back to the VMware Kernel Modules Updater, browse the full path of the gcc-6 (mine is */usr/bin/gcc-6) ==> Click Install and provide root password to continue initialize vmware.

Another way you can relink the gcc default command (/usr/bin/gcc) by the fullpath of gcc-6 (/usr/bin/gcc-6).

So in my Kali Linux 2017.1, I did like these:

apt install gcc-6 -y
which gcc-6

or

apt instal gcc-6 -y
ln -sf /usr/bin/gcc /usr/bin/gcc-6

Note by Tuan Trieu at 2017-09-22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment