Setup a Virtual Machine on your Intel Mac
1. Sign up for a personal use VMWare License and Download and Install VMWare here.
2a. Manually download VMWare Fusion
2b. If it asks you for a License Key, you can find it under License Information on the website
3. Download Ubuntu 20.04 Desktop Image here and create a new virtual machine.
Although it is not 20 GB big, you need 20 GB of free space in your laptop for the download.
4. Install Ubuntu on new virtual machine in VMWare. Find specific instructions here.
It will ask you to create a new user. I strongly encourage using the same user and password as your current mac login so you don't forget.
5. Change Network Adapter in VMWare:
Go to the Virtual Machine tab at the top and scroll down to Network Adapter and select "Bridged (Autodetect)."
6. It may ask you to update security and privacy settings.
-
Go to system preferences and click security and privacy.
-
Look at the bottom left and click the lock to make changes.
-
Select “VMware Fusion” under the accessibility on the left.
7. Log in to your virtual machine.
8. Once you are logged into the virtual machine, look to the bottom left with 9 icons and click it.
9. Next, open “terminal.”
10. It should look like this (with your user before the @). Now we can install ROS2 on Ubuntu.
Note: Try to copy and paste this doc by using cmd+c in this doc, and pasting in the virtual machine by using ctrl+shift+v.
If pasting does not work between your mac machine and the virtual machine. You can try this command:
​
​
​
11. It should look like this (with your user before the @):
12. Copy and paste each of the following commands into terminal. Hit enter after each line.
Note: The following commands are also on the iRobot page.
note: make sure you get a response with "UTF-8" after running the command above.
note: If you do not get an error, continue to this command.
I got a public key error on the first command (keyring not downloaded). Followed the white commands below to resolve it:
Try this command again. If those commands worked, continue to the black blocks of code. If those commands didn’t work, try: