In this article, we will set up and use the VMware Workstation 17 Pro virtualization software which allows you to create virtual machines and install various operating systems on Ubuntu 22.10 (Kinetic Kudu).
How to Set Up VMware Workstation 17 Pro to Run a Virtual Machine on Ubuntu 22.10
As you know, VMware Workstation is the most popular virtualization program and this software works in Microsoft Windows operating systems as well as in all Linux distributions such as Ubuntu.
Installing VMware on the Windows 10 platform is simple as it only takes a few steps, however, although the installation process on Linux-based systems is simple, in some cases you may need to install dependent packages.
With VMware Workstation, you can create virtual machines and run multiple virtual computers on your computer at the same time. Also, this virtualization program is not an open source and free program, but you can purchase it after taking advantage of a 30-day free trial period.
How to Download and Install VMware Pro
First of all, if you are using both Windows and Ubuntu with dual boot configuration on your computer, do not install them directly on your running system whenever new versions of this virtualization software or other 3rd party software are released. First, install Ubuntu on a virtual machine, then install new versions of the relevant programs and check system compatibility, and then install them on your current system.
You can easily download Workstation software via a web browser from VMware’s official website. But you can also do this with a single command from the terminal.
After downloading the bundle extension setup file, execute the “sudo apt update” and “sudo apt upgrade” commands in the terminal to update the package list of the applications and components installed on your system.
sudo apt update
sudo apt upgrade
Now, you need to download and install the necessary Linux kernel packages on your system for the VMware program to run smoothly. Otherwise, you will get the GNU C Compiler error and will not be able to start the program.
To fix the GNU C Compiler error and install the dependent packages required to run the virtual machine program, execute the “sudo apt install build-essential” command in the terminal, and then press Y and Enter to confirm the installation of the dependent packages.
sudo apt install build-essential dkms
After downloading the VMware virtual machine software to the Downloads location, execute the commands below in the terminal to edit the executable permissions of the file and start the installation.
After the installation process is completed, find the VMware Workstation program from the Show Applications section and run it. You can also see that the Virtual Network Editor and VMware Player software are installed after the installation.
NOTE: If you encounter the error “Unable to install all modules” when you run the VMware program at this stage, you need to manually download and compile the vmmon and vmnet modules of the Workstation program.
To solve the “Unable to install all modules” error in Ubuntu, execute the commands below in the order in the terminal to download the required modules from Github and copy them to the relevant location.
sudo apt install git
git clone https://github.com/mkubecek/vmware-host-modules
git checkout workstation-17
sudo make && sudo make install
tar -cf vmnet.tar vmnet-only && tar -cf vmmon.tar vmmon-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
After installing the necessary packages, when the VMware End User License Agreement window opens, read the license terms and select “I accept the terms in the license agreement” to accept, and click the Next button.
Also, accept the OVF Tool component for Linux license agreement and click Next.
If you want the virtual machine software to check for updates at system startup, select Yes and click Next.
Select Yes to confirm participation in the VMware customer experience program, and then click Next.
If you purchased the program for Linux, enter your license key. If you want to use and try the virtualization program for 30 days free of charge, select “I want to try VMware Workstation 17 for 30 days” and click the Finish button.
After successfully installing VMware Pro software, you can now install and test new or old versions of Windows, Linux, or macOS operating systems on your host computer.
Open the VMware Workstation 17 Pro software on your Linux system and click Create a New Virtual Machine.
To configure the virtual machine with advanced settings, tick Custom (Advanced) and click Next.
Configure the hardware compatibility of the virtual computer as the latest version of your VMware software and click Next.
You can use your physical drive or ISO installation media as the method to install the operating system. However, to better configure the virtual machine’s settings, select I will install the operating system later and click Next.
If you have planned to install Windows 10 as the guest operating system, select Microsoft Windows, then select Windows 10 and later x64 from the Version section and click Next.
Create a new folder in the location where you want to install the Windows 10 virtual computer and select it.
Select UEFI as the firmware type and continue.
In the virtual processor configuration, determine the number of processors and cores according to the power of your host computer.
Likewise, configure the virtual memory size for the Windows 10 guest machine according to the RAM capacity of your host.
If you want to connect the guest machine to your physical network, you can choose Bridged network. If you do not want your virtual computer to obtain an IP address from your local network, continue with the default option Network Address Translation (NAT).
Continue with the recommended LSI Logic SAS option as the I/O controller type.
You can specify the type of virtual machine’s virtual disk as IDE, SCSI, SATA, or NVMe. Since NVMe is a newer technology, it makes your guest operating system more efficient. Therefore, select the NVMe disk type for the virtual disk type and click Next.
Determine the virtual disk capacity of the guest machine depending on the actions you will take and choose to backup the virtual disk as a single file type.
Leave the virtual disk location at default and continue.
You can see the hardware information of the Windows 10 virtual computer you have configured in the summary window. After checking the hardware information of your virtual system for the last time, click Finish and close the wizard.
After installing your guest system, close the warning window informing you that the first thing you need to do is to install the VMware Tools software and continue.
To further configure the hardware settings of your Windows 10 guest system, click Edit Virtual Machine Settings from the Workstation interface.
To increase the performance of the Windows 10 virtual PC, open the Processors hardware settings and tick all the features in the Virtualization Engine section and close the window.
After selecting the CD/DVD device from the Hardware section, select the Use ISO Image option and then click Browse to specify the location of the image file. Next, select the Windows 10 image file you downloaded to your Linux computer and click Open.
For faster file transfer on your Windows 10 VM, select the USB 3.x controller from the USB hardware settings and close the settings window.
Click Start up this guest operating system to run your Windows 10 x64 virtual machine.
The Windows setup window will open after pressing any key on your keyboard to start the installation during the Windows 10 operating system boot phase.
How to Delete the Virtual Machine
When you decide not to use the guest virtual systems you have installed on Ubuntu or other Linux platforms, you can easily delete them completely from the virtual machine library of the Workstation software.
To completely delete all files related to Windows 10 VM from your host disk, right-click on it, click Manage / Delete From Disk, and click Yes to confirm the deletion of all files in the window that opens.
How to Uninstall VMware Workstation
When you want to remove the VMware virtualization software that you have installed on your Linux/Ubuntu system, you can do this quickly by using the terminal.
Open the terminal and execute the command “vmware-installer –list-products” to list the VMware products installed on your system.
Then, after checking that the VMware Workstation program is installed on your system, execute the “sudo vmware-installer -u vmware-workstation” command to completely remove it from your system.
Hello, I'm Tolga! I am a computer specialist who has been specializing in computer technologies for about 20 years. I provide solutions to problems encountered in many areas such as hardware, system, network, virtualization, server systems, and operating systems, and create relevant content on my website by explaining how to solve these problems. My goal is to be a reliable source of expert, quality, and trustworthy solutions for your computer problems. By following innovations and using the latest technologies, I aim to be successful in my job and provide you with the best service. Don't hesitate to contact me for any questions or curiosity about technology. Have a nice day, stay up to date :)