###### tags: `ROS2` `laptop` `Virtual Machine`
# How to install Robot Operating System 2(ROS2) on laptop
Hello every one! This file will tell you how to install ROS2 on your laptop with virtual machine, so that you can start communicating between the robot and the laptop through ROS2.
And I choose Ubuntu 20.04 to run ROS2, because the robots I use usually use Linux system.
## Hardware before you install ROS2
You need a computer or laptop can connect Internet and I suggest the specifications are more higher than:
- CPU: Intel(R) Core(Tm) i7-8750H CPU @ 2.20GHz 2.21 GHz
- GPU: NVIDIA GeForce GTX 1060 with Max-Q Design
- RAM: 8 GB
- Storage space: 100 GB
These specifications are now I use to run ROS2 on my laptop and just a suggestion.
## 1. Insall Ubuntu 20.04 on laptop with virtual machine
To avoid important data lose from the laptop, I suggest using virtual machine to install Ubuntu 20.04. In this example, I use Virtualbox to be my virtual machine.
### 1-1. download virtual machine
Please download the [Virtualbox](https://www.virtualbox.org/). **Notice, there are two files you need to download:**
1. VirtualBox platform packages
2. Extension Pack
<img src="https://i.imgur.com/9hDvQZz.jpg" width="500">
### 1-2. install virtualbox
Please double click the virtualbox file you just download and follow the steps to install virtualbox.
If everything was fine, a icon names "Oracle VM VirtualBox" will show on the desktop.
### 1-3. install extension pack
After finsish installing virtualbox, we also need to install extension pack. Please double click icon "Oracle VM VirtualBox" to run the program.