ubuntu install vagrant code example

Example 1: how to install vagrant on linux

1) Installation with package manager:
 # to install Vagrant on Debian, Ubuntu, Linux Mint:
 sudo apt install vagrant
 # On Fedora:
 sudo dnf install vagrant
 # On SUSE/openSUSE:
 sudo zypper install vagrant
 
 2) Installation with ".deb" file:
 # If the top solution is now working, download .deb file from 
 # the link below and install it
 link: https://www.vagrantup.com/downloads
 # And then install it with this command
 sudo apt install ./DEB_File.deb

Example 2: install vagrant ubuntu

sudo apt install ./vagrant_2.2.6_x86_64.deb

Example 3: install vagrant in ubuntu 18.04

curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb