yum groupinstall 'Development Tools' 出现错误

系统 centos 7.3
使用命令

yum groupinstall ‘Development Tools’
1出现下面的错误

No packages in any requested group available to install or update
1解决方法:

cd /etc/yum.repos.d
sudo wget http://public-yum.oracle.com/public-yum-el5.repo
cd /etc/pki/rpm-gpg/
sudo wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5

你可能感兴趣的:(centos7)