You will be prompted to confirm the removal. To remove all configuration files as well, manually delete ~/.vmware and /etc/vmware .
Reinstall kernel headers and reboot.
Update your package list and install the build essentials along with the current kernel headers: how to install vmware workstation pro on linux
You will be prompted to read and accept two sets of terms. You will be prompted to confirm the removal