installing vagrant on ubuntu 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