On Mon, 27 Jul 2020 17:46:30 +0530 Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote: > Did the trick perfectly. Only have 2 stable 5.6 kernels now. Great! > What is the difference between dnf and rpm ? When do I use dnf over > rpm and vice versa ? Shouldn't DNF be able to do everything that rpm > does ? > > What is reason for the existence of both ? rpm is the main database of packages on the system. dnf sits on top of rpm and provides more functionality and ease of use, as well as more protection from making errors. dnf can do (almost) everything rpm does, and more. In this case it would have been possible to run a repoquery with formatting to create the actual package name as output, but it would have been a lot more work. rpm keeps track of low level details and is the authority for packages on the system, dnf provides abstraction to make package handling easier for the user (packagekit takes that abstraction even further). I would not use rpm, except in an emergency, to install or remove a package, I would use dnf. It is safer. But rpm is great for quick queries, though I sometimes use dnf search depending on what I am looking for. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx