Setting up a new CentOS 7.4 machine. I installed vim using sudo yum install vim
, and then I uninstalled vim-minimal
with sudo yum remove vim-minimal
. Now sudo
has been uninstalled:
$ sudo
-bash: /usr/bin/sudo: No such file or directory
What happened? Is sudo
really part of the vim-minimal
package? How can I reinstall it, now that I don't have sudo anymore? I don't know the root password.