VM for Linux 版本的安装步骤:
下面链接下载VM程序包 :
https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html
安装VMware Workstation for Linux,文件是Bundle格式,安装步骤如下:
第一步:先获取权限(权限更改为:可执行)
sudo chmod +x VMware-Workstation-Full-7.1.3-324285.x86_64.bundle
第二步:执行安装
./VMware-Workstation-Full-7.1.3-324285.x86_64.bundle
第三步:图形安装界面出来了
troubleshooting
16.2.4
VMWARE 的 kernel module 签名。
"Cannot open /dev/vmmon: No such file or directory" error when powering on a VM (2146460)
vm-tools
[root@dad5600 signed-modules]# dnf -y install open-vm-tools-desktop Last metadata expiration check: 0:44:44 ago on Mon 03 Jan 2022 03:35:32 AM PST. Package open-vm-tools-desktop-11.3.0-2.fc35.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [root@dad5600 signed-modules]# [root@dad5600 signed-modules]# dnf -y install open-vm-tools Last metadata expiration check: 0:44:50 ago on Mon 03 Jan 2022 03:35:32 AM PST. Package open-vm-tools-11.3.0-2.fc35.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! $ vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"
apt-get install linux-headers-5.18.0-kali-amd64
~$ uname -srm Linux 5.13.0-35-generic x86_64 ~$ uname -r 5.13.0-35-generic ~$ echo linux-headers-$(uname -r) linux-headers-5.13.0-35-generic
~$ dpkg-query -s linux-headers-$(uname -r) Package: linux-headers-5.13.0-35-generic Status: install ok installed Priority: optional Section: devel Installed-Size: 23974 Maintainer: Ubuntu Kernel Team <[email protected]> Architecture: amd64 Source: linux-hwe-5.13 Version: 5.13.0-35.40~20.04.1 Provides: linux-headers, linux-headers-3.0 Depends: linux-hwe-5.13-headers-5.13.0-35, libc6 (>= 2.22), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3) Description: Linux kernel headers for version 5.13.0 on 64 bit x86 SMP This package provides kernel header files for version 5.13.0 on 64 bit x86 SMP. . This is for sites that want the latest kernel headers. Please read /usr/share/doc/linux-headers-5.13.0-35/debian.README.gz for details.
值得说明的是,我发现
sudo apt install linux-headers-generic
和
sudo apt-get install linux-headers-$(uname -r)
会安装不同版本的头文件,如下,
~$ sudo apt install linux-headers-generic
...
将会同时安装下列软件:
linux-headers-5.4.0-104 linux-headers-5.4.0-104-generic
下列【新】软件包将被安装:
linux-headers-5.4.0-104 linux-headers-5.4.0-104-generic linux-headers-generic
...
您希望继续执行吗? [Y/n] n
~$ sudo apt install linux-headers-$(uname -r)
...
linux-headers-5.13.0-35-generic 已经是最新版 (5.13.0-35.40~20.04.1)。
linux-headers-5.13.0-35-generic 已设置为手动安装。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
这两个指令的不同之处在于,下面的指令
sudo apt install linux-headers-generic
sudo apt install --reinstall linux-headers-generic
会自动安装并升级你的内核头文件,而
apt install linux-headers-$(uname -r)
这个指令不会升级你的头文件。
Linux如何查看内核版本并安装内核头文件linux-headers-generic
https://askubuntu.com/questions/1096052/vmware-15-error-on-ubuntu-18-4-could-not-open-dev-vmmon-no-such-file-or-dire