如何在centos7安装dnf软件包

想在自己的笔记本CentOS7上安装dnf玩玩儿,但是根据百度出来的方法没有成功。

yum install epel-release -y

yum install dnf

 

现在将解决办法转载过来,如下:

wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/dnf-conf-0.6.4-2.sdl7.noarch.rpm

wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64//dnf-0.6.4-2.sdl7.noarch.rpm

wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/python-dnf-0.6.4-2.sdl7.noarch.rpm

yum install python-dnf-0.6.4-2.sdl7.noarch.rpm dnf-0.6.4-2.sdl7.noarch.rpm dnf-conf-0.6.4-2.sdl7.noarch.rpm

 

 

测试有效:

cat /etc/redhat-release

dnf update

 

posted @ 2018-02-03 15:07  心无引擎,眼无流派  阅读(2976)  评论(0编辑  收藏  举报