From the course: Virtualization: Configuring VMs Across Platforms with VMware, Hyper-V, VirtualBox, Vagrant, and KVM
VMware Workstation on Linux
From the course: Virtualization: Configuring VMs Across Platforms with VMware, Hyper-V, VirtualBox, Vagrant, and KVM
VMware Workstation on Linux
- [Instructor] In this video I will show you how to install VMware player Linux. Now this proceed is on Ubuntu. Ubuntu lts work says in 22.04 for the simple reason that at the time I was recording this 24.04 was not yet available. And that is fortunate because 22.04 is also a little bit more challenging and I will show you what exactly that means. So before I'm going to install anything, I need to make sure that we update all software. So sudo APT update. That is because what we are going to install depends on the current version of the Linux kernel. And before making sure that we make the insulation, we should make sure that we have the latest and greatest version of Linux kernel. An APT update is going to take care of that. So now we can see that there is packages that can be upgraded. So sudo APT upgrades minus Y is taking care of that. All right, so now the package upgrade is complete and we can continue and install a couple of additional components. First, we use sudo apt install to install all of these components. And the first component that we need is Linux headers, dash dollar parenthesis, uname, minus R. The Python to dollar parenthesis command, make sure that we install the Linux headers package, that is headers with an S by the way, let me correct that we need to install the Linux headers package for the current version of the kernel. We also need GCC, the GNU C compiler and we need make. So here we go. And another 132 megabytes of software will be installed. So let me continue by answering yes. Now as I've updated all the packages and installed some new, it's a wise idea to do a restart. So let's do a sudo reboot to reboot the computer. So I've just restarted, let's get to the browser and let's download the VMware software. So vmware.com. So here we go. And in vmware.com, you go to the products, you need to scroll down a little bit to find desktop hypervisor. And in desktop hypervisor you will find a VMware workstation player. So this is where you need to go. And here we have the download for free button. That is where you need to click to download the software. So another click is required to go to the downloads, and then we want the VMware player for Linux. So let's click download now and within a few seconds the software should be landing on your computer. All right, so it seems to be done. Let's get back to the console where in the downloads folder you should find the player software. Now in case you are wondering what is this VMware player bundle, well use Linux file command to figure out what exactly it is. The file command and Linux will tell you that this is batch script executable data and being batch script executable data, I need to run it and I'm going to run it using sudo Bash on VMware player bundle. That's the easiest way. There are multiple ways that you can do, you can make it executable and run it dent, but let's just do it this way with root privileges so that it can make all modifications that are required entering this the password for the current user. And there we can see that the VMware in store is loading. That'll take a few seconds to complete its work before you can continue. So now that we have verified that all these VMware packages are available, I would like to run it from the graphical user interface. So there we go. VMware player showing a nice icon. And there we can see that the VMware player screen is wiggling. So it's asking our attention, and this is a problem that you will find on Ubuntu 22.04 and most likely not if you are learning the most recent version of Ubuntu. So in case you don't see this popup, there's nothing to worry and you are ready to use. But I am on Ubuntu 22.04, so I need a couple of additional steps. The problem here is that the GCC compiler that I'm using is too old for this version of VMware player, but that's a fix. And in order to apply the fix, I first need to add a repository. So I'm using add apps repository followed by PPA colon Ubuntu tool chain hyphen R slash test. And yes, I'm giving enter to accept what this is asking me to do here. And next I need another sudo apt update, which is making sure that the package installer is aware of all the new packages that are available through this repository. And now I can use sudo apt install gcc dash 12. And that is making sure that on this older version of Ubuntu, we have the newest GNU C compiler available. And the C compiler is required for kernel modules that are going to be used by the VMware player on Linux. So that should be okay now. And the easiest way is to cancel the VMware player start and to start it again. So let me do that. There we go. VMware player. Here we have the wiggling screen again. But now you can see that VMware player apparently has already found what needs and it's prompting us before you can run VMware, several models must be compelled and loaded into the running kernel. That allows the VMware player to interface the Linux kernel fully, which is required to run your virtual machines. So I'm going to install and I need the current user password, that's a sudo password. And there we can see that it is installing this VMmom and the VMnet, which is for monitoring virtual machines and for creating additional networks. And then you can see a popup that VMware player is ready. So if now you click the window again, then you can complete the installation by accepting the terms and then you click next. And would you like to check for product updates on startup? Well, I would always recommend you do that and up to you, if you want to join the customer experience improvement program, I'm going to do that because it helps making your software better. And next you can select use VMware player for free for non-commercial use. That is exactly what we need. So I'm going to click finish. And once again, I need the sudo enabled user password and we can see that VMware player is now ready. So back to the wiggling window. And there you can see the VMware player home screen. So you can start and do whatever you want. In the next couple of lessons, you learn what exactly you can do with it.