Install a Ubuntu Virtual Machine on Mac-OS using VM-Fusion
Lecture description
In this lecture, I demonstrate how to install a Ubuntu virtual machine on Mac-OS to install and work with ROS on it.
Learn more from the full course
ROS for Beginners: Basics, Motion, and OpenCV
Become an expert and learn robotics with Robot Operating System (ROS) in little time and don't be lost in broad docs
13:41:48 of on-demand video • Updated April 2023
Understand ROS Ecosystem (topics, nodes, messages, services, actionlib)
Develop simple applications to control robot motion
Understand how a position and orientation are represented in ROS
Recognize how to develop a C++/Python ROS project
Develop simple computer vision programs with ROS and OpenCV
English [Auto]
Rahim Al Saleh. Islam. Muhammad Ali. Ismail. In this video I'm going to show how to install Ubuntu operating system on a virtual machine for a mac OS operating system. In fact, my advice and recommendation it is always highly recommended to work with Ros on a virtual machine because you can set up all your environment, install all your applications, all your integrated development environment only once, and then you can store the file of the virtual machine in any external hard drive. So later on, in any case, when there is a damage that happens to your virtual machine, for example, Ros installation is compromised or something doesn't work fine. After some updates and so on, you can easily get back to your working environment by just getting a copy of your saved virtual machine and open it again. However, if you work on a physical machine, if there is any problem with your system, you have to install everything from scratch. And this is sometimes very time consuming and tedious operation. So this demonstration is going to show how to install Ubuntu 18.04 on a virtual machine. However, the process will be exactly the same if you install any other version of ubuntu. So the first thing that you have to do is to go to ubuntu website w-w-w ubuntu.com/download/desktop. So you will download the desktop version of ubuntu. You click on download and then you accept the file and let it download completely on your system. It's going to take a little bit of time depending on the speed of your connection. So after that, if you have Mac operating system, you can use any software of a virtual machine. You can use free options like VirtualBox from Oracle, which is free. But my recommendation is to use Fusion virtual machine from VMware, which provides very powerful functionalities. It's very stable, but the problem it is paid. So once you have fusion, you open fusion and then you will create a new virtual machine. You select the option to install from the disk or an image. Then you drag and paste the operating system image that you have downloaded and then follow the instructions. So you have to set the password for the virtual machine. You can also check the option, make your home folder accessible to the virtual machine and then click continue so you can choose easy install, but I recommend that you customize your setting before going further. First of all, you have to give a name to the virtual machine and then you can change the setting of the virtual machine. For example, you would like to increase the number of processors allocated to the virtual machine and the memory or any other setting like network settings or other. So you can do that. For example, I will choose to have four processors and four GB of Ram. Of course, this depends on the capability of your machine and then let it install. So the installation takes a little bit of time and then the virtual machine having the Ubuntu operating system is going to open and you can just type your password that you have set initially. And finally you will be logging in to the virtual machine and you will have a Ubuntu operating system where you can install Ros and configure your environment over there. So after having the virtual machine installed you can install the Ros, install your favorite integrated development environment like for example, Eclipse or Visual Studio code or any other IDE of your choice. Install all the other libraries that you will need for Ros, for example, Turtlebot packages or any packages that you need for sensors, actuators or anything, and then make a copy of your virtual machine, put it on an external hard drive just in case. If you have any crash or any problem, you can get back to your virtual machine up and running without the need to install Ros and all the tools that you have already installed.