In this lecture, we will be installing VMware Workstation Player on Windows ten.
VMware Workstation Player is only supported on Windows and Linux.
So for those of you on Mac OS, please refer to the next lecture on installing VirtualBox.
Instead, I prefer VMware over VirtualBox due to the higher graphic capabilities which really come in
handy when we get to the simulation section.
Once we have VMware installed, we'll be downloading in Ubuntu 22.4 ISO disk image so that VMware can
use it to run our Ubuntu instance on our Windows machine.
So let's get started.
So I'll go ahead and open up my Internet browser to the VMware Workstation Player page.
Here you can read more information about how VMware Workstation Player works, some of the technology
specs and its usage cases.
But for now we're going to scroll down to the bottom where it is ready to get started and click on the
download button.
So open up a new tab and we are taken to the downloads page for the VMware Workstation Player.
Don't worry if you see a different version than what I'm showing right now, just use whatever the current
release version is available.
We'll head over to go to downloads.
And this will bring us to the Windows and Linux download.
So I'm currently on Windows ten, so I will be installing the Windows 64 bit player.
So that'll go ahead and download.
This might take a while, depending on your internet speed, so feel free to pause the video and come
back when you're done.
All right, so let's finish downloading.
We can go ahead and run it.
Go ahead and hit.
Yes.
Opens up the setup wizard.
Go ahead and hit next.
Go ahead and read through the license agreement, accept and hit next.
And we want to add the VMware Workstation Console tools to the system path.
And I also like to download the enhanced keyboard drivers.
So just note you will have to restart your computer in order to use this.
So go ahead and hit next.
Now it's up to you if you want to leave these checked.
But I like to leave these unchecked.
I have no need to check for product updates constantly on startup and I will opt out of the VMware Customer
Experience program.
So go ahead and hit next and I will leave shortcuts for my desktop and start menu.
So go ahead and hit next and install.
All right.
So let's go ahead and finish so I can go ahead and hit finish.
And this says we must restart our system for the configuration changes to take effect.
So that's because of those enhanced keyboard drivers I mentioned earlier.
So I'm going to go ahead and restart my computer now.
All right, so our windows machine is restarted.
I'll go ahead and open up our VMware Workstation player.
Now, for the purposes of this course, you'll be selecting using VMware 16 player for free non commercial
use since you're using it for educational purposes to learn Ros.
Go ahead and continue and then you can hit finish.
All right.
So this brings us to this home page here.
So we have no virtual machines yet, so we actually need to download the ISO images in order to create
a new virtual machine.
Because you'll see here, the first thing it asks us for is an installer disk or image file.
So go ahead and hit cancel and I'll go ahead and open up the internet browser and we can head over to
Ubuntu download page.
All right.
So we will be installing the desktop image which we see here.
This will provide us the image.
Now, when Ubuntu version 23 comes out, make sure you're still installing Bluetooth 22.4 since it's
correlating to the version of ROS that we are using for long term support.
So we'll go ahead and install the desktop image.
Now please keep in mind this is going to take a while depending on your internet speed as this file
is about four gigabytes in size.
I recommend doing this over an ethernet connection as sometimes if your wi fi connection gets disrupted,
you may have to restart your download.
So feel free to pause the video and come back once you have that downloaded.
All right.
Once that's finished downloading, I can go ahead and minimize the browser and we can actually go ahead
and create our new virtual machine.
We'll select an installer disk image and we will browse into our downloads folder.
And here we have the Ubuntu 2204 desktop image.
Don't worry if you have a different number after 0.1.
Sometimes they update the revisions as long as it says 22.04.
Go ahead and open it and we can see it's already detected.
This is an ubuntu 64 bit operating system, so go ahead and hit next.
So here is where you would put in your name, username, password and so forth.
All right.
Once you have these filled out, you can go ahead and hit next and then you can choose a virtual machine
name.
So this is the name that will appear over here in this sidebar.
So I like this to be a little bit more descriptive because we don't know what version of a Bluetooth
this is unless we were to actually open it.
So I actually like to at least mention that this is a 1 to 22.4.
And some students also like to mention things such as they are using it for this course.
So they say Ross Humble or something along those lines.
I'll just leave it as open to 22.4 and even the 64 bit is a bit much.
I'll just go ahead and remove that information.
Again, this is totally personal preference.
This will not affect how your machine runs.
It's just the name you'll have on this sidebar over here and the location name of where your files will
be stored.
So here we see the location.
So go ahead and hit next.
Now you'll specify the disk capacity.
So because we're going to be playing around with simulations and whatnot, I recommend at least 40 gigabytes.
Now, keep in mind, this will take up space on your computer's hard drive.
So just be wary of what your computer is capable of.
So, for example, I can open up my Windows File Explorer, hit this PC and we can see I actually only
have 17 gigabytes free of 80 gigabytes because I'm actually running this Windows machine as a virtual
machine right now.
So I only gave it about 80 gigabytes of space.
So but keep in mind that you're not over allocating for your system.
So again, I recommend 50 gigabytes.
But for this example, I don't have that much space on this computer, so I'll just go ahead and put
15 just so that I'm not overusing my disk space.
And you can choose whether to start as a single file or multiple files.
I'll just leave it as default of multiple files.
Then I like to go in and customize the hardware.
And here is where you can select how much memory, how many processors you can use and so forth.
I also like to increase the display.
To make sure it's on the max, which is eight gigabytes.
This is one of the reasons why I enjoy VMware over VirtualBox is how much graphics memory it allows
for.
Accelerate 3D graphics works for the most part.
Sometimes you may need to disable this in the future when utilizing simulations as it will affect the
display, so you may need to uncheck that in the future.
So just be wary.
But for the most part, as long as you're within the limits of not exceeding your maximum going over
the minimum.
So I actually suggest four gigabytes.
If you have a lot of memory, feel free to go higher, but just be wary of what your system is capable
of.
Also, be wary of the USB controllers.
So here we have USB compatibility set to 2.0.
If your machine only has USB 3.0 ports, you're most likely going to want to switch that over to USB
3.1 to make sure that all of your devices interact with your virtual machine correctly.
And I'm not going to be using Bluetooth with this virtual machine, so I'm just going to go ahead and
uncheck that.
With that, I can go ahead and close this and we can go ahead and hit finish.
Now, a lot of my students run into this error here, so it says error while powering on.
This host does not support intel v t dash x and so this is a setting that is set in your systems bios.
So in order to get to your bios, you'll actually need to turn off your computer.
And then as you're booting it up, hit the F two key and you'll need to find this setting to enable
it.
For more information, you can check out the VMware Workstation Community page on this particular issue.
This will go ahead and open up the install page.
I'm going to go ahead and close this little box on the bottom here and we can actually maximize the
screen.
Now, immediately, it may not scale the screen to how you may want it, but once it installs the guest
utilities, we should be able to fix that.
Right now, we're just going to go through the install process.
So feel free to set your keyboard layout.
I'll leave it as English us.
Then we will do a normal installation, download the updates and I also like to install third party
softwares as it says for graphics and wi fi hardware.
Now when you're using a virtual machine, it'll actually think it's connected via an ethernet adapter,
so you don't need the wi fi tools, but I do like the other third party applications, so I'll go ahead
and use that and hit continue.
All right then it's going to ask to erase disk and install Ubuntu.
That is fine.
A lot of people get worried about this because it says it'll delete all your programs.
Now the virtual machine takes care of this for us.
It dedicated that space we allocated.
So I recommended the 40 gigabytes, but it's allocated that space, that free space as your drive for
this virtual machine.
So your virtual machine can't see all your other files which are hosted on your computer.
So you can feel free to erase the disk and install a new just fine.
And I can actually show you this by hitting something else.
And if I were to hit continue.
We actually see dev slash SDA is only about the size we had set it to in the beginning.
All right.
So going back to this, we're going to go ahead and erase disk and install Ubuntu so I can go ahead
and hit install now and that will begin our installation.
So here it actually prompts us which partition we're making changes to.
So go ahead and hit continue.
Feel free to choose your time zone.
Now, I know we had to fill this out earlier, but sometimes it doesn't get filled in when you're doing
the installation.
You can change your computer's name.
So here it just says Raymond Virtual Machine.
So I like to shorthand this because this name may appear in your terminals, so I'll just say my 1 to
22 VMM and then pick a username.
So I like to keep this nice and short and then put in your password.
And go ahead and hit continue.
So that'll go ahead and finish installing.
So feel free to pause here and finish your installation and I will resume the video once it finishes
installing.
All right.
Then you'll get a message saying the installation is complete.
You need to restart the computer in order to use the new installation.
So we'll go ahead and hit restart now.
And that's gone ahead and opened up.
Now, sometimes again, it doesn't open in full screen, so you may have to resize your VMware and then
it'll adjust accordingly.
So now we can go ahead and sign in.
And congratulations with that.
You have now installed in a new virtual machine.
So I'll ask you to connect your online accounts.
You can just go ahead and skip.
I'll hit no to not send usage statistics.
Leave the location services off.
And here it has some recommended software, including the Visual Studio Code, which we will be installing
in a future lecture.
But for now we'll just go ahead and hit.
Done.
Now feel free to customize this side task bar here.
This is acts like just like your Windows or Mac OS taskbar.
So feel free to remove any programs that you're not going to use.
So for example, I usually like to remove the help section.
We're not going to be using the library office version of Microsoft Word.
This is the Rhythm Box is one of the MP three players in case we want it to play sound files.
That was one of the third party extensions that were installed.
I'll go ahead and remove that as well.
And I'm not going to be checking my email on this machine so I can go ahead and remove that.
You'll also see some things on the side here, such as the trash bin, some floppy disk and the CD rom.
These floppy disk and CD rom are from VMware.
So these are virtual, so you don't need to worry about these at all.
So you can actually unmount these.
Which I'll disconnect it and I'll just go ahead and hit eject.
All right.
You might get prompted with the software updater saying that there have been updates since our ISO that
we downloaded was released and it'll give you the details of these updates.
So feel free to install these now as it will make our future setup when we're installing new applications
go by a bit faster.
All right.
And it says the computer needs to restart to finish installing updates.
So in most cases, this is usually not the case.
Whenever we do a Linux apt update and upgrade, we usually don't have to restart the machine, but this
sometimes happens when we first newly installed Linux.
I'll just go ahead and restart this right now.
Again, you may need to resize.
And now we are back in our Linux machine and it's been up to date.
But those of you not familiar with Ubuntu Linux.
The main things you need to keep in mind is here is your file Explorer, so you can go ahead and click
on that and view all the files like you normally would in Windows or actually have a documents, tab,
downloads, etc. and other locations is like your computer space and we can see our usage.
So already just at installation we're using ten gigabytes.
So be wary that the installation itself will take up some space.
So I'll go ahead and close this.
Now, the default browser that it provides for you is the Firefox web browser.
Feel free to install a different web browser if you like.
One of the ways to do that is in terminal or through the Ubuntu Software Center.
So here is Mozilla opening up.
I'm just going to go ahead and close this right now.
So here's our open to software center.
So it's downloading the catalog.
So here's where you can install various applications.
This is like your Windows App Store.
Now you can still install applications like you are used to, like on a Windows device or Windows by
simply going to the installation web page and downloading the application.
So, for example, if you're like me and you like the Chrome browser, we can go over to Chrome download.
We'll hit download Chrome and here we'll be selecting the 64 bit dev file.
And you can see here it's for debian slash ubuntu releases, which is what we're using.
So we can simply go ahead and hit accept and install.
So that's gone ahead and download it in the background.
So now we can actually see it here in our downloads page, we have this DB file, so I'll go ahead and
close my Firefox browser, click on the dot db file.
This actually opens it in an extraction form, which is not what I want.
Let's go ahead open with another application and I'm going to go ahead and hit software, install and
select.
So this will open it in that same software program we were looking at earlier.
But now we're doing a custom dev file installation rather than using what's on the App store.
So here we see Google Chrome stable and I can just go ahead and hit install.
You'll be prompted for your password.
All right.
And with that, we have it installed.
So the way we go about opening new applications is we go over to the show applications bar, which you
can open by hitting like the Windows key on a keyboard and we can look for our application.
So it's not on the first page.
I can go over to the second page and here we see our Google Chrome.
And of course you could also type it up in the search bar.
Go ahead and open that.
I'll go ahead and make it my default browser.
And there we go.
We've installed a new application.
And if you ever want to lock it to your doc, you just right click add to favorites.
And now we can put that wherever we want to use.
And since I won't be using Firefox, I can just go ahead and remove it.
So that was just a brief introduction to Ubuntu 22.
Feel free to keep exploring.
The other thing as I mentioned is in the future we'll be using the terminal which you can open with
control.
Alt rt.
So that opens it like that with that keyboard shortcut.
Or of course, you can always go to show applications and find the terminal application.
So this is where we'll be running commands to do things such as install our ROS application.
So as always, I like to also favorite this as well, so it's easy to get to.
But this is something you should know about since we'll be using it a bit in the upcoming lectures.
And of course, any time you want to shut down this machine, simply head over to the power button.
Go to power off.
And we can go ahead and shut it down.
And this will stop the virtual machine.
Great with that.
You have successfully configured your Ubuntu 22.0 for virtual environment.
So let's get to installing ros to.