VMWARE
Did you have the problem that you did not initiate the VMWare by upgrade to the latest kernel? Here I leave you the solution for this problem. Surely we got a sign saying that it cannot find a compatible version of GCC in order to compile the modules you need to dock to the kernel to work, for which we will need to install a more recent version for which I leave you the steps to follow:
VMWARE
If in the attempt to install it you saw that it did not work for you and you uninstalled it, I leave the link for you to enter the official page and download it. You have to enter you here and download VMware Player for Linux Workstation. Which will provide us a file VMware-Player-15.5.1-15018445.x86_64.bundle depending on the version of the program currently.
GCC
For this practical example we will use version 9.2 obtained from GitHubWe advise you to check this link to see if there is no newer version to install. If we find a more recent one, we must change that value in the commands so that they work correctly.
sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install flex
wget https://github.com/gcc-mirror/gcc/archive/releases/gcc-9.2.0.tar.gz
tar -xzvf gcc-9.2.0.tar.gz
cd gcc-releases-gcc-9.2.0
contrib/download_prerequisites
./configure -v -build=x86_64-linux-gnu -host=x86_64-linux-gnu -target=x86_64-linux-gnu -enable-checking=release -enable-languages=c,c++ -disable-multilib
make -j 4 (este proceso demora 1hs aprox)
sudo make install
CONFIGURATION
For this case we will occupy version 15.5.1 so the modules that we will obtain correspond to that version of the program, so in the first command we must replace the numbers in workstation-15.5.1 the version we install in the system.
git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
sudo tar -cf vmmon.tar vmmon-only
sudo tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
Observation: We must carry out the configuration process every time we update to a new version of the kernel, if we do not delete the folder created with the download in the personal folder of the team we only have to perform the last 2 steps again. If you had an error in the configuration process after a kernel update, here are the steps to solve it.
git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
sudo make
sudo make install
These would be the steps to be enjoying the latest version of the kernel with VMWare installed in its latest version working correctly. Do not forget to leave us your comment to know your experience. Regards!
Tuto excellent, thank you.
Today I had that problem myself, I'm going to try to do it again.
I came as ring finger, thanks.
I did not work.
My Yeah, well, thanks
Tomás Warynyca !
Hello, please send the screenshots (Ctrl + Alt + A) of the error messages to determine the cause of it not working for you.
And 5 attempt, then worked, thanks.
stand there
please help
Hi, there what it says is that you could not download the file, please try again or make sure the correct URL is used. You can also try the following URL.
https://github.com/gcc-mirror/gcc/archive/releases/gcc-9.2.0.tar.gz
When you unzip it with the tar command, also make sure to use the correct file name.
Hello, I mention that I just updated the article (in github they had changed the link) so now you should be able to do the procedure without problems. If the error persists, let me know .. Greetings!
Hello, good morning, sorry but I don't know how to solve what you are telling me, I don't know what I'm doing wrong, thank you
Hello first of all sorry for responding so late .. could you solve the problem? !Regards!
When I run the command get this error
./configure -v -build = x86_64-linux-gnu -host = x86_64-linux-gnu -target = x86_64-linux-gnu -enable-checking = release -enable-languages = c, c ++ -disable-multilib
your help please
Let's hope that
Tomás Warynyca is available, I noticed that the gcc download link is broken. But I don't use vmware so it's not my strong suit.
Sorry for the inconvenience, I just updated the commands (I had changed the paths in github) now the method should work without problems. Let me know anything and we see what may be happening! Greetings!