Yum vs Dnf
Fairly new to linux, running Fedora 22. Currently, if I use yum, is it actually running yum, or is it a symbolic link to dnf? And can someone explain in layman terms the advantages of dnf over yum?
Fairly new to linux, running Fedora 22. Currently, if I use yum, is it actually running yum, or is it a symbolic link to dnf? And can someone explain in layman terms the advantages of dnf over yum?
There is not much difference between dnf and yum but yum got replaced by dnf in Fedora 22. So, the best would be to forget about yum, and just use dnf. There is nothing that you can't achieve with dnf.
type man dnf
or dnf --help
to see what functions dnf offers.
Asked: 2015-09-24 07:35:54 -0600
Seen: 1,212 times
Last updated: Sep 24 '15
Thanks for the help, I forgot to look into the man pages.
First thing you might wanna do, is putting fastestmirror=1 at the end of your /etc/dnf/dnf.conf. DNF downloads quite a bit of package data, and that could be slowed down if you are not using a fast mirror server.
No clue, why this is not enabled by default..?
@Florian: It's not enabled by default because DNF already gets a list of mirror speeds. From
man dnf.conf
: "fastestmirror: If enabled a metric is used to find the fastest available mirror. This overrides the order provided by the mirrorlist/metalink file itself. This file is often dynamically generated by the server to provide the best download speeds and enabling fastestmirror overrides this."@Tullo_x86: Thanks for the hint. I didn't know that.