As I've said, Vagrant can be installed on Linux, Windows and macOS and the other two uses rubber.
The package includes an embedded rubber interpreter.
The only other requirement is a virtualization tool such as VirtualBox.
The Oracle's VirtualBox provider is available for free and is included in Built in with Vagrant, so
we can use and install VirtualBox in order to use Vagrant during the course.
You can also use them there or Hyper-V with Windows operating system.
Now we can start installing VirtualBox so that we can use Vagrant built in VirtualBox provider and vagrant
itself.
You can download VirtualBox from virtualbox dot org and it's an open source tool sponsored by Oracle
which lets you create, manage and use virtual machines on your own computer.
Now to install VirtualBox on Ubuntu machine, you should change to a pseudo mode and run apt update
then followed by apt upgrade and the command itself to install virtualbox which is apt install virtualbox
and that's it.
If the process goes smoothly, you'll get virtualbox virtual visor in a matter of minutes.
You can check if virtualbox is installed correctly by typing virtualbox.
After this simple steps you can go ahead and install vagrant itself by type typing apt install vagrant.
And that's it.
Two simple commands and you have two very robust tools on your machine.
The process for installing VirtualBox and Vagrant on Windows machine or macOS is very similar.
First, you download the tools themselves, choosing the correct version for Windows or macOS.
Then you download Vagrant itself and install first VirtualBox and then vagrant on your either Windows
or macOS machine.
You'll have to reboot the machine to get the environment up and running.
Then you can check if the vagrant is installed correctly by typing vagrant space dash dash version and
the output should be the vagrant and the version of vagrant installed on your machine.
For example.
2.2.4.
Now you can go ahead and start working with Vagrant.
Now, in this demonstration I'll show how to download VirtualBox and install VirtualBox and download
Vagrant and install vagrant.
First, let's download VirtualBox.
You should choose the correct version which co two for example version for macOS and save the file.
It will take some time to download the file and then install it.
And the same process goes for Vagrant.
You should choose the correct version for your operating system.
For example, macOS, save the file and go ahead and install these two tools on your system you may
need to reboot after installing Vagrant.
As I've said earlier, and of course the defaults are fine.
You shouldn't change anything while installing the systems, the tools.
So when the downloads are done, go ahead and find the files themselves and open them.
Then double click the big file, click continue and go ahead with defaults.