-
Make sure your kernel version headers are installed located in:
/lib/modules/$(uname -r)
. If it's looking kind of empty (not empty example), then you should reinstall them (e.g.sudo apt reinstall linux-modules-$(uname -r)
) -
Check kernel version:
uname -r
-
Check vmware version:
vmware --version
-
Download the host module files:
git clone https://github.com/mkubecek/vmware-host-modules.git
-
cd vmware-hosts-modules
-
Find your workstation version name:
git remote show origin
-
Checkout into the branch with the modules of your workstation version:
git checkout <YOUR-WORKSTATION-VERSION>
-
Enter the command:
make
-
Enter the command:
sudo make install
9a. Reload modules by force: sudo /etc/init.d/vmware restart
9b. (Optional) Remove the vmware-host-modules
folder: rm -rf <FOLDER-PATH>
9c. (Optional) Restart computer
Some arch network troubleshooting
VMware Workstation 1 Liner Fix
if [[ -d /lib/modules/$(uname -r) ]]; then PRODUCT=$(vmware --version | cut -d' ' -f3) && cd ~/Downloads && git clone https://github.com/mkubecek/vmware-host-modules.git && cd vmware-host-modules && WS=$(git remote show origin | grep $PRODUCT | cut -d' ' -f5 | tail -1) && git checkout $WS && make && sudo make install && sudo /etc/init.d/vmware restart && cd ~/Downloads && rm -rf vmware-host-modules; else echo "Check uname -r and /lib/modules"; fi
VMware Player 1 Liner Fix
if [[ -d /lib/modules/$(uname -r) ]]; then PRODUCT=$(vmware --version | cut -d' ' -f3) && cd ~/Downloads && git clone https://github.com/mkubecek/vmware-host-modules.git && cd vmware-host-modules && WS=$(git remote show origin | grep $PRODUCT | cut -d' ' -f5 | head -1) && git checkout $WS && make && sudo make install && sudo /etc/init.d/vmware restart && cd ~/Downloads && rm -rf vmware-host-modules; else echo "Check uname -r and /lib/modules"; fi