sudo apt-get remove --auto-remove vagrantrm -r ~/.vagrant.d 1. wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb
2. sudo dpkg -i vagrant_1.9.1_x86_64.deb
3. vagrant version
Does this process remove the files or VMs of old version?
1. sudo apt-get remove --auto-remove vagrant
2. rm -r ~/.vagrant.d
_NOTE: Above steps does not remove machines available under workingdir/.vagrant/ folder_
1. wget https://releases.hashicorp.com/vagrant/2.0.2/vagrant_2.0.2_x86_64.deb
2. sudo dpkg -i vagrant_2.0.2_x86_64.deb
3. vagrant version
These are the steps to remove existing vagrant installation:
1. sudo apt-get remove --auto-remove vagrant
2. rm -r ~/.vagrant.d
These are the steps to install vagrant 2.0.3:
1. wget https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb
2. sudo dpkg -i vagrant_2.0.3_x86_64.deb
3. vagrant version
Ref Link : https://www.vagrantup.com/downloads.html
These are the steps to remove existing vagrant installation:
sudo apt-get remove --auto-remove vagrant
rm -r ~/.vagrant.d
These are the steps to install vagrant 2.0.4:
wget https://releases.hashicorp.com/vagrant/2.0.4/vagrant_2.0.4_x86_64.deb
sudo dpkg -i vagrant_2.0.4_x86_64.deb
vagrant version
Ref Link : https://www.vagrantup.com/downloads.html
why can't get latest version of vagrant by apt?
Even after updating and upgrading packages
1.Download your version here : https://releases.hashicorp.com/vagrant/
or wget https://releases.hashicorp.com/vagrant/X.X.X/vagrant_X.X.X_x86_64.deb
sudo dpkg -i vagrant_X.X.X_x86_64.debvagrant versionRef Link : https://releases.hashicorp.com/vagrant/
Most helpful comment
_NOTE: Above steps does not remove machines available under workingdir/.vagrant/ folder_