
Update April 2021: I noticed VMware Workstation 16 in Ubuntu tends to install kernel modules fine through its GUI now, so a lot of this info about how to compile and install vmmon
and vmnet
is probably obsolete. But since it may be useful to someone using an older version of Workstation, I’ll leave it up for the time being.
In reference to this post I made earlier: https://develmonk.com/2020/10/20/solve-the-system-cannot-find-the-file-specified-error-in-vmware-workstation/
I found the most helpful script, just drop this in a text file called /etc/kernel/install.d/vmmodules.install