How to run VMware 16.2.3 on Ubuntu 22.04
Currently (2022-05-16), VMware Workstation 16.2.3 installs on Ubuntu Desktop 22.04 LTS, but the kernel modules fail to build, so it won’t run.
You can install it and see the icon, but when you try to open it, it will ask you to install some modules and then fail.
Solution
Here is a script that I verified can solve the problem.
git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
git checkout workstation-16.2.3
sudo make ; sudo make install
sudo modprobe -a vmw_vmci vmmon vmnet
Then you may need to reboot the host system to make VM networks working.
Conclusion
Although Ubuntu 22.04 is a LTS version, I ran into compatibility issues around this time. My short-term advice then was to use Ubuntu 20.04.
Content licensed under CC BY-NC-SA 4.0.