Artificial intelligent assistant

Can't uninstall ruby gem Vagrant to install Vagrant via RPM 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`

There are two ways you can solve this issue: creating an alias (this is more of a hack) or going to the systemd unit file and modifying it so that it points to the correct location for the binary.

1. Fixing via ~/.bashrc - This is as simple as creating an alias in the bashrc file and using source to reload. This is a quick fix, but I'd recommend the latter.
2. Going to the systemd unit file and updating it - There are plenty of resources online to show you how to create and modify systemd unit files. Take a look at this link here for an example on modifying systemd unit files.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 331acf77761e112d871dca08a7383ec2