Vagrant is a command-line tool for building and managing virtual machines.
By default, Vagrant can provision machines on top of VirtualBox, Hyper-V, and Docker. Other providers such as Libvirt (KVM), VMware and AWS can be installed via the Vagrant plugin system.
Vagrant is typically used by developers to set up a development environment that works across multiple operating systems.
This article describes how to install Vagrant on an Ubuntu 20.04 machine. We’ll use VirtualBox, which is the default provider for Vagrant.
We will provision the virtual machines on top of VirtualBox.
If VirtualBox is not installed on your system you can install it by running:
sudo apt update
sudo apt install virtualbox
The Vagrant package, which is available in Ubuntu’s repositories, is not regularly updated. We’ll download and install the latest version of Vagrant from the official Vagrant site.
At the time of writing this article, the latest stable version of Vagrant is version 2.2.9. Visit the Vagrant downloads page to see if there is a new version of Vagrant available.
#ubuntu 20.04 #ubuntu #vagrant