YUM 4 is available for testing

Monday, 30, October 2017 Igor Gnatenko announcement, General, Installation 2 Comments

I am pleased to announce that YUM 4, based on DNF technology, is available for testing on CentOS Linux 7/x86_64. Our limited testing indicates no major problems, but I would love to find out how it fits into your existing YUM 3 workflows. So please consider filling out the short survey - your feedback helps us all get better.

YUM 4 provides significant improvements such as fast dependency resolution and a stable, documented API. See the references below for detailed improvements. We have made every effort to preserve the existing end-user experience that is available with YUM 3. This is the primary reason for making YUM 4 available for testing now.

“So, what all has changed?”

The documentation does a great job explaining the differences in great detail. In short, your existing experience using yum to install, remove, and update are identical. However, there are changes such as some of the plugins and yum utilities are now consolidated into `dnf-plugins-core`. Some of the yum CLI options changed and are either converted for you automatically or silently ignored when that behavior is automatically included. Existing custom plugins written for YUM 3 will not work with YUM 4. Please reference the DNF API Reference and Changes in DNF hook API compared to YUM 3 links for further information.

“I found a bug, what should I do?”

Please report any found bugs on Red Hat Bugzilla against Fedora/dnf component (make sure to mention versions and that you use package from CentOS).

And remember to submit feedback in the short survey.

“Three step install, get started right away”

  1. # yum install centos-release-yum4
  2. # yum --enablerepo=centos-yum4-testing install yum4
  3. # yum4 --enablerepo=centos-yum4-testing install dnf-plugins-core

“I used DNF from EPEL, how do I move from it?”

Similar to clean installation: enable repository and update. YUM 4 is based on a newer version of DNF and should update properly.

  1. # yum install centos-release-yum4
  2. # yum --enablerepo=centos-yum4-testing update

NOTE: packages in testing repositories are not signed.

Many thanks to the CentOS Project team for their assistance in making this happen!

2 thoughts on "YUM 4 is available for testing"

  1. Bill Pye says:

    It's fantastic that this has finally been made available. 🙂 I've been using the copr builds until they recently disappeared then I found your repo a few days ago and I've been using that. Many thanks for your work to get this 'officially' on CentOS.

  2. Wolfram says:

    I got this new very late on this day.
    But it is inspiring that you offer a newer version of dnf.

    But I have on question more:

    Does somebody know, which version of dnf-plugin-system-upgrade I have to use?
    On Fedora I have tested it successfully without any effort. Simply like plug and play.
    And it would be endless great, if this plugin could be teste on Centos. One day there will be a new version of Centos.


Leave a Reply

Your email address will not be published. Required fields are marked *