VMware Communities
ultrajones
Contributor
Contributor

Install VMware Workstation 14.1.7 Pro for Linux on Ubuntu 18.04 LTS

I have tried installing VMware Workstation 14.1.7 Pro for Linux on Ubuntu 18.04 LTS, but keep getting an error. 

I ran the following commands:

$ sudo chmod +x ~/Downloads/VMware-Workstation-Full-14*.bundle

$ sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms

I than ran VMware using the icon and received the following pop-up:

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

I then clicked Install, but an error is returned referencing /tmp/vmware-root/vmware-14536.log.  The best I can tell, everything is okay in /tmp/vmware-root/vmware-14536.log up until the following logs:

2020-01-03T15:22:36.582-05:00| vthread-1| I125: The header path "/lib/modules/5.0.0-37-generic/build/include" for the kernel "5.0.0-37-generic" is valid.  Whoohoo!

2020-01-03T15:22:36.721-05:00| vthread-1| I125: found symbol version file /lib/modules/5.0.0-37-generic/build/Module.symvers

2020-01-03T15:22:36.721-05:00| vthread-1| I125: Reading symbol versions from /lib/modules/5.0.0-37-generic/build/Module.symvers.

2020-01-03T15:22:36.739-05:00| vthread-1| I125: Read 23297 symbol versions

2020-01-03T15:22:36.739-05:00| vthread-1| I125: Invoking modinfo on "vmmon".

2020-01-03T15:22:36.741-05:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.

2020-01-03T15:22:36.741-05:00| vthread-1| I125: Invoking modinfo on "vmnet".

2020-01-03T15:22:36.743-05:00| vthread-1| I125: "/sbin/modinfo" exited with status 256.

2020-01-03T15:22:37.174-05:00| vthread-1| I125: Setting destination path for vmmon to "/lib/modules/5.0.0-37-generic/misc/vmmon.ko".

2020-01-03T15:22:37.174-05:00| vthread-1| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".

2020-01-03T15:22:37.182-05:00| vthread-1| I125: Successfully extracted the vmmon source.

2020-01-03T15:22:37.182-05:00| vthread-1| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-HeMShg/vmmon-only auto-build HEADER_DIR=/lib/modules/5.0.0-37-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2020-01-03T15:22:38.878-05:00| vthread-1| W115: Failed to build vmmon.  Failed to execute the build command.

2020-01-03T15:22:38.880-05:00| vthread-1| I125: Setting destination path for vmnet to "/lib/modules/5.0.0-37-generic/misc/vmnet.ko".

2020-01-03T15:22:38.880-05:00| vthread-1| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2020-01-03T15:22:38.885-05:00| vthread-1| I125: Successfully extracted the vmnet source.

2020-01-03T15:22:38.885-05:00| vthread-1| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-HeMShg/vmnet-only auto-build HEADER_DIR=/lib/modules/5.0.0-37-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2020-01-03T15:22:40.846-05:00| vthread-1| W115: Failed to build vmnet.  Failed to execute the build command.

Any help to resolve would be appreciated.

Regards,

Ultrajones

0 Kudos
3 Replies
ultrajones
Contributor
Contributor

Anyone?

0 Kudos
ant3351
Contributor
Contributor

I'm not sure if this helps but last time installing Workstation 15.5 on Ubuntu 18.04 I've missed installing the "build-essential".

https://vitux.com/how-to-install-vmware-workstation-on-ubuntu/

Hope this may solve your problem

0 Kudos
ksc
VMware Employee
VMware Employee

Looking at the error, agree it's likely the missing 'build-essential' package to build the kernel modules.

Note Workstation 14 went end-of-life in March 2019, so if it's anything other than that (e.g. incompatibility with kernel headers) there's little we can do except recommend Workstation 15.

VMWare Workstation 14 End of General Support

0 Kudos