DNF & YUM

Most of you new fedora installers would have seen that yum has been replaced by dnf. It just means Dandified YUM . Yeah I can see most of you rolling your eyes. Well, anyway here it is.

For simplification purpose DNF is python3 implementation of YUM . It also other added improved features of like

  • documented API
  • improved dependency solving algorithm
  • refactoring internal functions.

But we are just lay users we just wanna know what is the alternative to

sudo yum install my-very-imp-pkg 

Well fedora folks have made it very easy, just replace yum with dnf

sudo dnf install my-very-imp-pkg 

Also if you have some wrapper scripts around yum commands , you can just search and replace them with dnf

Yeap its that simple and your are good to go. And its quite faster too

For more info: man dnf

sources :
http://dnf.baseurl.org/
https://en.wikipedia.org/wiki/DNF_(software)