how to 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

#In Debian, Ubuntu, Linux Mint
sudo apt install vagrant
#Use WSL if you are in Windows and one of above distributions