Skip to content

Instantly share code, notes, and snippets.

@jayluxferro
Created November 6, 2018 11:02
Show Gist options
  • Save jayluxferro/c1a76ca570bab9485e88a342c8bff757 to your computer and use it in GitHub Desktop.
Save jayluxferro/c1a76ca570bab9485e88a342c8bff757 to your computer and use it in GitHub Desktop.
Vmware 12.5.6 Fix ubuntu 18.04
#!/bin/bash
VMWARE_VERSION=workstation-12.5.9
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment