How to Set Up Vmmon and Vmnet Modules in VMware Workstation for Ubuntu
Are you facing the below error when installing the vmware modules in Vmware workstation?
I followed the instructions to install those modules from this GitHub repo.
Find the vmware version installed
To find version of the vmware installed, run the below command
vmware -v
It will show the output as
VMware Workstation 17.5.0 build-22583795/code
From the baove out the version of the vmware installed is 17.5.0
Get the code form Github
Go to this github repository and
branches
, click theall
tab. Search for the version you have installed like shown below.Copy the branch name, and run the below command to get the source code into your system(Host).
git clone -b branch-name https://github.com/mkubecek/vmware-host-modules.git
Replace the branch-name with, you copied from github repository
Compile and Install
Go to directory vmware-host-modules like
cd cmware-host-modules
, And run the following two command. Make sure all VMs are stoppedsudo make sudo make install
Restart the vmware by using the below command
sudo systemctl restart vmware
Then, open the vmware it will work smoothly and won’t show the pop to install the moduels again.
For more visit this installtion guide from the author
Subscribe to my newsletter
Read articles from Udhayakumar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Udhayakumar
Udhayakumar
Senior Software Engineer