Running VMWare Workstation on ElRepo?

Issues related to applications and software problems
Post Reply
bluforce
Posts: 13
Joined: 2020/12/21 20:40:49

Running VMWare Workstation on ElRepo?

Post by bluforce » 2021/01/14 16:10:38

We are trying to get VMWare Workstation 16.1 running on CentOS 7 running kernel 5.10.6-1.el7.elrepo.x86_64. We are having to use this kernel so our Dell Latitude 5411's see the wifi adapter. If we select kernel 3.10.0-1160.11.1.el7.x86_64 VMWare Workstation 16.1 launches successfully.

If we run Workstation 16 with the elrepo kernel, we get the error about gcc version 9.3.1 not found.
vmware_gcc_1.png
vmware_gcc_1.png (25.69 KiB) Viewed 110 times
vmware_gcc_2.png
vmware_gcc_2.png (47.88 KiB) Viewed 110 times
If I try to install the gcc kernel, yum says its not available. I'm not familiar enough with elrepo to know if this is possible. Do any of you have any suggestions?

Code: Select all

$ sudo yum install make gcc kernel-devel kernel-headers-$(uname -r) -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * elrepo: iad.mirror.rackspace.com
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package gcc-4.8.5-44.el7.x86_64 already installed and latest version
Package kernel-devel-3.10.0-1160.11.1.el7.x86_64 already installed and latest version
No package kernel-headers-5.10.6-1.el7.elrepo.x86_64 available.
Nothing to do

sml
Posts: 221
Joined: 2020/01/17 09:01:44

Re: Running VMWare Workstation on ElRepo?

Post by sml » 2021/01/19 21:16:19

  1. ELRepo is a third-party repository and their packages are in no way supported by this forum.
  2. The error message is misleading. GCC version has nothing to do with the kernel. GCC 9.3.1 is provided by devtoolset-9 from SCL.
  3. There's no such thing as GCC kernel. VMware fails to compile kernel modules because it cannot find kernel headers for the running kernel.
  4. You're trying to install package kernel-headers-$(uname -r) while running an ELRepo kernel. This fails because ELRepo kernel packages are named differently: kernel-ml, kernel-ml-headers, kernel-ml-devel. ml means mainline. They also have lt series (long-term support). Thanks to different naming scheme their packages can be co-installed with the official CentOS kernels.

    Code: Select all

    sudo yum install kernel-ml-{devel,headers}

Whoever
Posts: 1162
Joined: 2013/09/06 03:12:10

Re: Running VMWare Workstation on ElRepo?

Post by Whoever » 2021/01/19 21:50:02

Have you considered just using KVM/QEMU instead of VMWare?

There are utilities to convert the guests so that they will run under KVM.

Post Reply

Return to “CentOS 7 - Software Support”