[Seek Help] VMWare 安装之后要求选择 Linux Kernal Header
Tofloor
poster avatar
万能胶
deepin
2022-05-20 00:59
Author

image.png

RT,目前问题是选择了之后提示不匹配,想问下 Deepin 的 header 在哪里?

Reply Favorite View the author
All Replies
万能胶
deepin
2022-05-20 01:05
#1

报错是这个。

image.png

Reply View the author
心平气和
deepin
2022-05-20 01:12
#2

sudo apt install linux-headers-$(uname -r)

试试这个命令 在终端

Reply View the author
Xrtero
deepin
2022-05-20 02:10
#3

VMware只支持到 Linux kernal 5.10,如需使用得切换到510或更低版本

Reply View the author
万能胶
deepin
2022-05-20 03:01
#4
心平气和

sudo apt install linux-headers-$(uname -r)

试试这个命令 在终端

正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
linux-headers-5.10.101-amd64-desktop 已经是最新版 (5.10.101-amd64-desktop-20.00.05.06-release)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 2 个软件包未被升级。

这个已经试过了,依然提示找不到。

Reply View the author
心平气和
deepin
2022-05-20 03:17
#5

https://www.vmware.com/go/getworkstation-linux

从这个官网下载 最新版本,然后 按照下面命令进行安装

sudo chmod +x VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle
sudo su

./VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle

Reply View the author
183******99
deepin
2022-05-20 17:07
#6

我刚在20.5上装好的

root执行,先装好git

apt install git -y

然后把下边的shell脚本跑了就行

#!/bin/bash
VMWARE_VERSION=workstation-15.5.1
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

Reply View the author
万能胶
deepin
2022-05-23 22:49
#7
183******99

我刚在20.5上装好的

root执行,先装好git

apt install git -y

然后把下边的shell脚本跑了就行

#!/bin/bash
VMWARE_VERSION=workstation-15.5.1
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

试下,感谢。

Reply View the author