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