[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

Significant updates to our ConfigManagement Special Interest Group for YUM4

This provides YUM4, based on DNF technology, for testing on CentOS Linux 7/x86_64. These updates are based on feedback from our prior test release in October 2017. It includes signed packages, core DNF plugins, and uses a version of RPM very similar to and compatible with the upcoming version of CentOS 7.5.

This initiative is based on a partnership with the upstream YUM and DNF maintainers for the future of package management. Our testing thus far indicates no major problems, but we 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.

What’s with the YUM4 name ?

We recognize that we need to enable users to test YUM4 (/usr/bin/yum4) within their existing workflows in order to fully understand compatibility while retaining YUM version 3 (/usr/bin/yum) as the default. Yes, they can both be used on the same system, switching back and forth. We do not recommend this behavior, but it should work with the only known issue being that each version retains its own separate history. So using the Rollback capability is not recommended as each version will not be aware of the other’s history. Note that the YUM4 name is temporary for the coexistence of versions 3 & 4.

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 to help us understand how it can be improved further.

Three step install, get started right away

# yum install centos-release-yum4
# yum install yum4
# yum4 install dnf-plugins-core 

I was already testing a previous version of YUM4. How do I update?

# yum4 update centos-release-yum4
# yum4 update yum4 


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

<!> Repository can replace some system components (more specifically, rpm)


2023-09-11 07:22