How to install Vagrant on Ubuntu Linux 18.04 desktop machine?

How to install Vagrant on Ubuntu Linux 18.04 desktop machine?

      If you have a host machine that runs Ubuntu Linux operating system, then you need to install Vagrant to automate and manage virtual machines. Now, let's see how to do Vagrant installation on Linux host machine.

# Download Vagrant.
$ wget https://releases.hashicorp.com/vagrant/2.3.3/vagrant_2.3.3-1_amd64.deb -P ~/Downloads

# Install Vagrant.
$ sudo apt install ~/Downloads/vagrant_2.3.3-1_amd64.deb

# Check Vagrant version.
$ vagrant --version

# Install VirtualBox guest additions plugin for Vagrant.
$ sudo vagrant plugin install vagrant-vbguest --plugin-version 0.24.0

    • Related Articles

    • How to install VirtualBox on Ubuntu Linux 18.04 desktop machine?

      If you have a host machine that runs Ubuntu Linux operating system, then you need to install VirtualBox to build and run virtual machines. Now, let's see how to do VirtualBox installation on Linux host machine. # Install required system packages. $ ...
    • How to install Vagrant on Mac desktop machine?

      If you have a host machine that runs Mac operating system, then you need to install Vagrant to automate and manage virtual machines. Now, let's see how to do Vagrant installation on Mac host machine. Download the latest Vagrant installer. Open the ...
    • How to install Vagrant on Windows 10/11 desktop machine?

      If you have a host machine that runs Windows 10 or Windows 11 operating system, then you need to install Vagrant to automate and manage virtual machines. Now, let's see how to do Vagrant installation on Windows host machine. Download the latest ...
    • How to install Docker on Ubuntu Linux 18.04 desktop machine?

      Docker is available in two editions: Community Edition (CE) and Enterprise Edition (EE). Here, we'll proceed with Docker CE, the Community Edition. To do a clean installation, you must first remove existing Docker installation, if anything found. And ...
    • How to install Terraform on Ubuntu Linux 18.04 desktop machine?

      Let's install Terraform by downloading and extracting the executable binary for Linux. This is most recommended way of installing Terraform on any Linux-based operating system. No matter how we install Terraform, its just a executable binary. Once ...