在Linux系统下安装了VMware后打开提示GCC没有找到的解决方法 [GNU C Compiler (gcc) version 7.3.0 was not found.]

在Linux系统下安装了VMware后打开提示GCC没有找到的解决方法 [GNU C Compiler (gcc) version 7.3.0 was not found.]_第1张图片
VMware Kernel Module Updater

Before you can run VMware, several modules must be compiled and loaded into the running kernel.

GCC

GNU C Compiler (gcc) version 7.3.0 was not found. If you installed it in a non-default path you can specify the path below. Otherwise refer to your distribution’s documentation for installation instructors and click Refresh to search again in default locations.

在终端中执行以下三条命令:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install build-essential

执行完以上三条命令gcc就安装完成了,重启虚拟机顺利打开。

注意:Ubuntu系统的版本要和VMware的版本必须对应,否则会无法运行VMware。我目前的Ubuntu系统是18.04,对应VMware安装的版本是15。

你可能感兴趣的:(Ubuntu,vmware,linux,linux,ubuntu,vmware)