apt install vagrant code example
Example 1: install vagrant ubuntu
sudo apt install ./vagrant_2.2.6_x86_64.deb
Example 2: install vagrant ubuntu
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb
sudo apt install ./vagrant_2.2.6_x86_64.deb
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb