YUM or DNF



  • So with YUM going to the wayside (for whatever the reasons may be), DNF is coming in as a replacement.

    Has anyone cut over yet, and if so any good / bad / mixed experiences?



  • @DustinB3403 said:

    So with YUM going to the wayside (for whatever the reasons may be), DNF is coming in as a replacement.

    Has anyone cut over yet, and if so any good / bad / mixed experiences?

    Isn't DNF YUM? I could have sworn that DNF was a fairly recent fork of YUM and the only major difference is how the API works.



  • Not quiet sure other than it is a fork of YUM, that doesn't have all of the issues of YUM

    This is from a co-worker saying this... So I figured I'd ask.



  • I used it with Fedora 22 on my Laptop. It seems to be fine to me . Never gave me any headaches installing software or anything... I say go for it!



  • Other than typing sudo yum install every time on Fedora 22 and it giving me the annoying message that it uses dnf, I haven't experienced any problems.

    I did notice you can't do dnf localinstall, you have to do dnf ./whatever_package.rpm



  • @johnhooks Yeah... You can also dnf install url://to.mypackage.com/mypackage.rpm and it will install without you having to go and download it by hand first. (It has been a while since I tried Fedora, so I don't know if you could do that with Yum or not)



  • @dafyre said:

    @johnhooks Yeah... You can also dnf install url://to.mypackage.com/mypackage.rpm and it will install without you having to go and download it by hand first. (It has been a while since I tried Fedora, so I don't know if you could do that with Yum or not)

    Nice! Learn something new every day.



  • @dafyre said:

    @johnhooks Yeah... You can also dnf install url://to.mypackage.com/mypackage.rpm and it will install without you having to go and download it by hand first. (It has been a while since I tried Fedora, so I don't know if you could do that with Yum or not)

    That is nice!



  • @DustinB3403 said:

    So with YUM going to the wayside (for whatever the reasons may be), DNF is coming in as a replacement.

    Has anyone cut over yet, and if so any good / bad / mixed experiences?

    Have not cut over yet but plan to soon.



  • @dafyre said:

    @johnhooks Yeah... You can also dnf install url://to.mypackage.com/mypackage.rpm and it will install without you having to go and download it by hand first. (It has been a while since I tried Fedora, so I don't know if you could do that with Yum or not)

    RPM does that natively.



  • I'm pretty sure that YUM has always been able to do that too. Just exposing the functionality of RPM underneath, I would assume.



  • @scottalanmiller When installing a package from RPM, if the dependencies are missing, it fails, doesn't it? With DNF, it will install those dependencies for you if they are in the list of installed repos on your computer.

    NB: Am I the only person who saw DNF and my first thought was did not finish?



  • @dafyre said:

    @scottalanmiller When installing a package from RPM, if the dependencies are missing, it fails, doesn't it? With DNF, it will install those dependencies for you if they are in the list of installed repos on your computer.

    NB: Am I the only person who saw DNF and my first thought was did not finish?

    RPM doesn't do any management. YUM and DNF automate RPM to handle dependencies.



  • @scottalanmiller Just making sure that hand't changed... It has been a very long time since I got my feet wet with Fedora. I'm impressed with v22. It works seriously nicely on my laptop.



  • @dafyre said:

    @scottalanmiller Just making sure that hand't changed... It has been a very long time since I got my feet wet with Fedora. I'm impressed with v22. It works seriously nicely on my laptop.

    If that changed, YUM and DNF would go away. 🙂 YUM and DNF are literally RPM changing. No one wants RPM itself to handle that stuff, that's for another tool. You can safely assume RPM is what RPM is. It works perfectly and just needs more automation on top, which is provided already.



  • @dafyre said:

    @scottalanmiller Just making sure that hand't changed... It has been a very long time since I got my feet wet with Fedora. I'm impressed with v22. It works seriously nicely on my laptop.

    KDE connect is awesome, have you played with that at all?



  • Not yet... I still haven't even figured out what the default desktop is... (It feels like Gnome 3 to me).

    Whta is the KDE Connect?



  • @dafyre said:

    Not yet... I still haven't even figured out what the default desktop is... (It feels like Gnome 3 to me).

    Whta is the KDE Connect?

    Fedora default has always been Gnome (first 2, then 3.) But KDE has always been fully supported.



  • @dafyre said:

    Not yet... I still haven't even figured out what the default desktop is... (It feels like Gnome 3 to me).

    Whta is the KDE Connect?

    I can't answer for IOS, but for android it will display notifications on the desktop from your phone. You can also transfer files, control media, and use your phone as a mouse and keyboard.



  • That's awesome, okay now I need to see if that works on iOS. Maybe I need full time Linux desktop, that's an option for me now.



  • @scottalanmiller Not to mention you can get your Windows games to play under Wine, if they are GOG.... and even some Steam games also work under Wine. 🙂



  • Well I'm only two months away from getting a gaming rig (I hope) so the idea would be one Windows 10 laptop (my HP Folio) and one Linux laptop (my HP Envy) and one Windows gaming rig (Zotac Magnus 970.)



  • I've been happy with Windows 10... I just really wish they had copied part of RPM and made it easy to install applications via powershell. They could use the MSI packager to do most of it too.



  • @coliver said:

    I've been happy with Windows 10... I just really wish they had copied part of RPM and made it easy to install applications via powershell. They could use the MSI packager to do most of it too.

    They have Chocolatey for that.



  • @scottalanmiller said:

    @coliver said:

    I've been happy with Windows 10... I just really wish they had copied part of RPM and made it easy to install applications via powershell. They could use the MSI packager to do most of it too.

    They have Chocolatey for that.

    True... but it would be nice to have it integrated and supported by Microsoft. And by supported I mean getting vendors to build that into their release.



  • It's supported by all of the vendors that matters. Linux is different because the packages nearly all come from the OS vendor. Microsoft's closed source world can't do that. So the system can't easily be replicated in a similar way.



  • @dafyre said:

    Not yet... I still haven't even figured out what the default desktop is... (It feels like Gnome 3 to me).

    Whta is the KDE Connect?

    Here's what the notifications look like:

    KDE Connect


Log in to reply