Openebs: How to upgrade to Vagrant 1.9.1 from any older version on Ubuntu 16.04

Created on 24 Feb 2017  路  6Comments  路  Source: openebs/openebs

Note: First remove the older version of vagrant.

  1. sudo apt-get remove --auto-remove vagrant
  2. rm -r ~/.vagrant.d

Install instructions

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
aretroubleshooting envagrant pinned

Most helpful comment

  • These are the steps to remove existing vagrant installation:
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_

  • These are the steps to install vagrant 2.0.2:
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

All 6 comments

Does this process remove the files or VMs of old version?

  • These are the steps to remove existing vagrant installation:
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_

  • These are the steps to install vagrant 2.0.2:
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

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 X.X.X:

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

  1. sudo dpkg -i vagrant_X.X.X_x86_64.deb
  2. vagrant version

Ref Link : https://releases.hashicorp.com/vagrant/

Was this page helpful?
0 / 5 - 0 ratings