'yum' is not recognized as an internal or external command, operable program or batch file
5,001
'yum' is not recognized as an internal or external command, operable program or batch file.
This is a Windows error message, you need to run your commands inside a shell in your CentOS VM, not at a Windows command prompt.
Related videos on Youtube
![Bilal](https://i.stack.imgur.com/uGpRT.png?s=256&g=1)
Author by
Bilal
Updated on September 18, 2022Comments
-
Bilal almost 2 years
I installed CentOS 7 minimal on VirtualBox; when I type:
yum install net-tools
I get this error:
'yum' is not recognized as an internal or external command, operable program or batch file.
-
thrig about 8 yearsHmm, that's probably a bit too minimal. What does something like
rpm -qa | egrep 'yum|dnf'
show? -
Julie Pelletier about 8 yearsCheck if
/usr/bin/yum
exists. If not, you have a broken installation or you're not really on CentOS 7. -
Julie Pelletier about 8 yearsEven minimal installation includes
yum
.
-
-
Bilal about 8 yearsThat's weird, i reboot the VM, and it's worked after that !