Using CentOS CR (Continuous Release) Repo

CentOS (Community Enterprise Operating System) is a Linux distribution that attempts to provide a free, enterprise-class, community-supported computing platform that is functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).

CentOS is run by volunteers who work directly with Red Hat’s RPM source files and push them to CentOS for release. Sometimes the project lags in its release versus the current release of Red Hat. That’s where CentOS Continuous Release (CR) comes in. CR meets the need for timely updates. It provides bug fixes and security updates before the ISO image of the latest point release is ready. For example, as of this writing, the current release of CentOS is 7.3 (based on RHEL 7.3), however let’s say you need a version of the software that includes a security path, bug fix, or feature that already exists. is in RHEL 7.4. You can then use the CR repo to pull those updates.

Using CentOS Continuous Release (CR) Repository

If you haven’t already, confirm which version of CentOS you’re running with:

cat /etc/centos-release

This will return the current release:

CentOS Linux release 7.3.1611 (Core)

CentOS 5 and 6. For You can install the CR repository by running:

yum install centos-release-cr

The package is included in the CentOS additional repository enabled by default.

CentOS 7. For The repository configuration file is included in the latest centos-release package. First, to get the new centos-release package, update your system with:

yum update

Then, to enable the CR repository run:

yum-config-manager --enable cr

You can verify that the CR repo is enabled by running:

yum repolist cr

You should now see the CR repository in the repository list. If blank, CR was not enabled. for example:

cr/7/x86_64    CentOS-7 - cr...

The CR Repository will remain empty and undiscovered until packages are placed in it at point release roll-over time. It will be emptied once the new point is released, but you can stay with the CR repository enabled if you so choose. This will allow you to be set up to receive CR updates for the next point release roll-over cycle.

Update (2nd March 2020): Centos 8. ForThe :repository configuration file is included in the latest centos-release package. To use the new centos-released package first update your system:

dnf update

Then to enable the CR repository run:

dnf config-manager --enable cr

Now you are ready to use CR repo. You can update all using:

dnf update

Or, let’s say you only want to retain In college specific package(s). then edit the file /etc/yum.repos.d/CentOS-CR.repo And add the following line at the end:

includepkgs=packagename

or to include all packages of that type:

includepkgs=packagename*

using the Included pkg Packages can cause problems with dependencies, so be sure to test and adjust where necessary to meet your needs. If you prefer to exclude certain packages then use Removal rather than:

exclude=packagename

References: red hat , Centos , cr wiki , RHEL 7.4 , Included pkg , seven blog posts

Leave a Comment