[root@vm10-0-0-166 ~]# sudo yum install yum-utils sudo: yum: command not found
时间: 2024-01-23 22:41:46 浏览: 26
The error message indicates that the `yum` command is not found on your system. This could be because you are not running a Linux distribution that uses `yum` as its package manager, or because the `yum` package is not installed on your system.
If you are running a Linux distribution that uses `yum` as its package manager, try installing the `yum` package using the following command:
```
sudo dnf install yum-utils
```
If your Linux distribution uses a different package manager, such as `apt` on Ubuntu, you will need to use the appropriate command for that package manager.
If you are not sure which package manager your Linux distribution uses, you can try running the following command to identify it:
```
cat /etc/os-release
```
This will display information about your Linux distribution, including the package manager it uses.