Showing posts with label Uhuntu linux. Show all posts
Showing posts with label Uhuntu linux. Show all posts

Monday, October 24, 2022

Install VMware Workstation Player on Ubuntu

Install VMware Workstation Player on Ubuntu 22.04 LTS

Get VirtualBox free alternative by installing Vmware workstation player on Ubuntu 22.04 Jammy JellyFish for running virtual machines.

Vmware doesn’t need an introduction, it is already quite popular and well know software when it comes to running virtual machines. Although most of the software of Vmware are paid, Workstation Player is free for personal usage.  Therefore, we can use it without paying anything.

Well, Virtualization is a software technique that mimics hardware. In this way, it is possible, for example, to operate several virtual machines under Windows, on which other operating systems can then be installed.VMs are an alternative to dual boot: virtual machines share PC performance with the main operating system. Dual Boot, on the other hand, has multiple systems installed on their partitions; the necessary changes to the partitioning carry the risk of data loss if done improperly, you do not have the problem with Virtual machines.

Contents
Steps to install Vmware on Player on Ubuntu 22.04 LTS
1. Download VMware player Linux
2. Open a command terminal
3. Install Vmware Player on Ubuntu 22.04 LTS
4. Run VMware Workstation on Jammy
3. Errors- VMware unable to install all modules vmmon vmnet
4. Install modules
5. Start Vmware Workstation Player on Ubuntu 22.04
5. Uninstall or Remove Vmware Linux

Steps to install Vmware on Player on Ubuntu 22.04 LTS

Here in this tutorial, we will learn the process of installing VMware Player not only on Ubuntu 22.04 Jammy JellyFish but for other versions of this Linux. Apart from that, you can follow this guide for Debian, Linux Mint, elementary OS, Zorin OS, and other similar Linux distros.

1. Download VMware player Linux

Unlike VirtualBox, VMware Player is not available to install using Ubuntu 22.04’s default system repository. Just open your browser and visit Vmware’s official website to download the workstation player, here is the link to make things a little way. On the download page click on the button given in front of  “VMware Workstation x.x.x Player for Linux 64-bit”.

 

2. Open a command terminal

Once the downloading of the Vmware Linux bundle is completed, open the command terminal on Ubuntu Linux or the one you are using. Go to Applications and search terminal, as it appears, click to run the same.

Switch to the Downloads directory

By default whatever we download from the internet using the browser goes to the Downloads directory, thus first switch to that. The command for the same is given below.

cd Downloads
ls

 

3. Install Vmware Player on Ubuntu 22.04 LTS

You will see your downloaded Player file there, simply run the script installation command with sudo access, here is the that.

sudo sh VMware-Player-*-*.x86_64.bundle

Wait until the installation gets completed.

 

4. Run VMware Workstation on Jammy

Go to Applications and search for it, as the icon for the Workstation appears, click to run it.

Start Vmware player

 

3. Errors- VMware unable to install all modules vmmon vmnet

In case you get Gcc not found and Kernel modules compiling error upon starting the Vmware, then you have to install them. For that, first, close the Vmware Player window and then run the below two commands:

sudo apt install gcc
sudo apt-get install build-essential

After that start the Vmware player again and start installing the modules. If you still have the error then follow the further steps.

Download the latest vmware-host-modules – VMMON and VMNET

https://github.com/mkubecek/vmware-host-modules

There as per your Vmware Player station, download the module file. For example– while doing this article the version of Workstation was 16.2.3, hence we download the same module file in zip format.

vmware host modules VMMON and VMNET

The file we download using the browser goes to the Downloads directory. Hence, switch to that.

cd Downloads

Unzip the file:

If you don’t have Unzip then install the sane:

sudo apt install unzip

Extract the downloaded file:

unzip file-name 

Replace the file-name with the one you have downloaded. For example, in our case it was w16.2.3-k5.17.zip, hence the command to extract it will be:

unzip w16.2.3-k5.17.zip

Check and Switch to extracted module folder:

To know what is the extracted file name, type:

ls

Now, switch to that:

cd extracted-folder-name

Note: Replace extracted-folder-name with the folder name on your system. For example:

cd vmware-host-modules-w16.2.3-k5.17

Create tar files of the modules:

tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only

Copy files to /usr/lib/vmware.modules.source : 

sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/

 

4. Install modules

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

Install vmware-host-modules - VMMON and VMNET

Once the installation gets completed, go to your Application launcher and run the Vmware Workstation player and you will see the window asking you to accept the Vmware License.

Accept terms and conditions VmwareCheck Vmware player updatesNon commercial license for Workstation

5. Start Vmware Workstation Player on Ubuntu 22.04

Finally, you have the interface of the Vmware Player. Now you can start creating virtual machines of whatever guest operating systems.

Install Vmware Workstation Player on Ubuntu 22.04 LTS

 

5. Uninstall or Remove Vmware Linux

If something goes wrong and you don’t want the Vmware Workstation player on Ubuntu 22.04 Linux, then use the given commands to uninstall it.

cd /usr/bin
sudo vmware-installer -u vmware-player

Uninstall VMware player ubuntu 22.04 LTS

 

 Refer: https://www.how2shout.com/linux/install-vmware-workstation-player-on-ubuntu-22-04-lts/