卸载命令:
sudo apt-get purge open-vm-tools-desktop
使用 --auto-remove 选项(如果重装最好选这个命令)
sudo apt-get purge --auto-remove open-vm-tools-desktop
安装命令:
Ubuntu 22.04 Server:
sudo apt install open-vm-tools
Ubuntu 22.04 Desktop:
sudo apt install open-vm-tools-desktop open-vm-tools
之后一定要重启
reboot
检查是否安装成功
lsmod | grep vmw