一、问题
详情见博客Ubuntu软件非Deepin安装(Typora、微信、Anaconda、有道词典、VMware)
在Ubuntu系统中安装VMware,图标成功显示在程序中,但是打开进行Install时报错如下

关闭后报错Before you can run Vmware, several modules must be compiled and loaded into the running kernel.
这是需要更新 Linux Kernel Headers。
二、解决
运行如下代码
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
git checkout workstation-16.2.3 # 根据自己的版本调整
sudo make
sudo make install
再次打开虚拟机,发现正常出现安装页面

在Ubuntu系统中安装VMware时遇到启动错误,提示需要编译并加载Linux Kernel Headers。通过运行sudo apt-get update,sudo apt-get install build-essential linux-headers-$(uname -r)安装必要组件,然后从GitHub克隆并编译vmware-host-modules项目,最终成功解决问题,能够正常打开VMware安装页面。
2495

被折叠的 条评论
为什么被折叠?



