r/AlmaLinux • • Jun 06 '21

VMware workstation error

VMware workstation cannot compile and install vmmon and vmnet into kernel

1 Upvotes

5 comments sorted by

3

u/[deleted] Jun 06 '21

You are going to have to provide more information that just that simple statement. What error(s) are you seeing?

0

u/hossameldinhassan Jun 06 '21

after installing vmware workstation for linux and on the first run vmware kernel module updater appears with a message "before you can run VMware several modules must be compiled and loaded into the running kernel" click on install it starts to compile and install vmmon and vmnet modules then an error message appears say that " Unable to install all modules"

1

u/[deleted] Jun 06 '21

There should be something that shows more technical details, like a log file somewhere which details what didn’t work.

Which version of Linux are you running? If it’s Debian based (Ubuntu, Mint) you might need to run ‘sudo apt install build-essentials kernel-headers’. If it’s Red Hat based, I’d try ‘sudo yum groupinstall “Development Tools”’and ‘sudo install kernel-devel’. Then try your module installs

0

u/hossameldinhassan Jun 06 '21

many thanks for your response, and kindly be informed that it was running perfect on centos 8.2 the error appears when i try installing now on almalinux 8.4 although i did groupinstall “Development Tools” and install kernel-devel

i will try to get the log file and send it

2

u/[deleted] Jun 06 '21

https://kb.vmware.com/s/article/58533

Usually you can find what you need using duck duck go or google. I simply searched for “VMware workstation Linux modules failed to build” and the above link from VMware was the first choice.