Compiling vmmon module fails on linux (VMware module 無法安裝)

Posted on Thu, Jan 18, 2024 Tech

今天在 Linux 開啟 VMware 的時候突然跳出要更新 module 的訊息

轉自參考資料1

按下 Install 等了一下子,竟然!!!!! 哭啊QQ

轉自參考資料1

解決方法

解決步驟

git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules/
vmware -v
檢查 vmware 版本 command 結果圖
git checkout workstation-16.2.1
記得後面是您 VMware 的版本對應的 branch,可自行去 git repo 看
make VM_UNAME=$(uname -r)
sudo make install
systemctl restart vmware
systemctl status vmware

參考資料