I can't install or reinstall a vagrant on CentOS 7.
First, I've followed a tutorial on how to install a Vagrant on CentOS 7 with Ruby & Ruby Gem.
After installation, I've typed inside a terminal a command: vagrant
and I received a message telling me that this method of installation is deprecated, I shall go to vagrantup.com and install an .rpm package instead.
I've did that, but now when I call a command vagrant
I have this message:
bash: /usr/local/bin/vagrant: No such file or directory
I've tried to uninstall everything to reinstall it from zero, but no success. I can't find any information about to fix this problem.
Any suggestion please ? Thanks
==== UPDATED ====
whereis vagrant
outputs following:
vagrant: /usr/bin/vagrant /opt/vagrant/bin/vagrant
whereis vagrant
– ryekayo Jun 09 '17 at 12:52vagrant: /usr/bin/vagrant /opt/vagrant/bin/vagrant
– aspirinemaga Jun 09 '17 at 12:59/usr/bin/vagrant
. Right now it's pointed to /usr/local/bin/vagrant – ryekayo Jun 09 '17 at 13:00vagrant up
– aspirinemaga Jun 09 '17 at 13:04