VMware Vmmod/VMnet Install

After upgrading my Ubuntu Version and subsequently my kernel I tried running  VMware Workstation Pro so I could access my VMs and kept running into the following error code when trying to open the application. Unfortunately, there was no way around it as rebooting, uninstalling/reinstalling, and anything else in my usual low-hanging fruit bag of tricks didn't work so I had to really figure out what was really going on. Lets start with the actual error.  

​2022-06-27T12:00:00.000+01:00| vthread-1| W100: Failed to build vmmon.  Failed to execute the build command.

2022-06-27T12:00:00.000+01:00| vthread-1| W100: Failed to build vmnet.  Failed to execute the build command.

From here we can see that vmmon and vmnet which are two kernel modules that VMware needs to run are having issues building, this is because the VMware Linux app likes to think its smarter than it actually is,  and its most likely using the wrong package for your kernel which means we can just avoid
this auto check and install it ourselves

What you actually came for

sudo apt install gcc

sudo apt install build-essentials