為了在Centos上使用
dnf copr
指令,需要安裝
dnf-plugins-core
,找了很長時間,包括試了源碼編譯安裝都不行,最後找到了方法,執行下面的指令就可以了。
需要root權限
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
了。