Ubuntu下安装Vmware

日期:2021-11-03

作者:JonathanJiang

此文章为个人笔记,有误请指正,推荐读者查看参考资料的原文

一、参考资料

  1. Linux系统上安装VMware Workstation
  2. 5分钟教你在Linux下安装VMware
  3. Ubuntu下面安装VMWare,提示:Build environment error! A required application is missing and Modconfig can not
  4. ubuntu下vmware启动报could not open /dev/vmmon

二、软件安装

2.1 下载VMware软件包

下载地址:VMplayer官方地址

下载linux版本:VMware-Player-Full-16.2.0-18760230.x86_64.bundle

2.2 安装图形安装程序
  • 对文件添加权限

    chmod u+x VMware-Player-Full-16.2.0-18760230.x86_64.bundle

  • 执行文件,进行安装

    sudo ./VMware-Player-Full-16.2.0-18760230.x86_64.bundle

2.3 安装GCC

需要提前安装gcc,在后续安装中会使用

sudo apt-get install gcc

2.4 在ubuntu中已经可以找到VMware了,然后图形化安装就不多说了

三、过程遇见的问题

3.1 解决“Build environment error! A required application is missing and Modconfig can not continue. xzCheck the log for more details.”

  • 安装库

    sudo apt-get install libcanberra*

  • 重新配置Modconfig

    sudo vmware-modconfig --console --install-all

3.2 解决运行虚拟机时错误“Could not open /dev/vmmon: ???.Please make sure that the kernel module `vmmon’ is loaded”

你所用的电脑预装Windows, 出厂时会在BIOS内设置secure boot,该模块将会禁止windows系统与windows非授权系统共存(windows的自我保护,也称垄断)。如果需要将linux的module驱动加载,则需要关闭secure boot

解决方式:进入BIOS, secure boot 设置为disable.

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐