Error: Unable to find a match: policycoreutils-python
1、错误提示
错误:yum install -y curl policycoreutils-python openssh-server
解决办法:
- 产生这个错误的原因是未配置yum源,所以需要安装 EPEL 源
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- 你要用python2还是python3?python2-setuptools或者python3-setuptools
改为:yum install -y curl policycoreutils-python3 openssh-server