爲了在Centos上使用dnf copr
命令,須要安裝dnf-plugins-core
,找了很長時間,包括試了源碼編譯安裝都不行,最後找到了方法,執行下面的命令就能夠了。bash
須要root權限code
wget -P /etc/yum.repos.d/ https://copr.fedoraproject.org/coprs/jkastner/dnf-plugins-core/repo/epel-7/jkastner-dnf-plugins-core-epel-7.repo && yum install dnf-plugins-core
而後就能愉快的使用dnf copr
了。get