Rocky Linux Repositories
There are several repositories that are provided by Rocky Linux and may differ between major releases. There are also community approved repositories as well, installable typically from the extras repository.
About 'enabled' and 'disabled' repository configuration files¶
man 5 dnf.conf, in particular the section of
enabled under the
REPO section. A line containing
enabled=1 will disable or enable a repository. This can also be modified using
dnf config-manager --set-enabled or
--set-disabled. When this is done, it is recommended to run
dnf clean all.
During a minor release lifecycle as a package receives updates, the previous version will coexist in the repositories to allow a user to downgrade in case of a regression or other use cases (such as security only updates). Upon new minor release, all previous updates/versions that are not the latest are not carried over.
Rocky Linux 9 does not currently support this policy and can be expected in a future Rocky Linux 9 version. Please see Peridot Issue #18.
Each major release has a set of repositories that come default with the distribution. Below is a list of common repositories for each major release. As of October 12, 2021, "Rocky 9" is projected information based on CentOS Stream 9.
|Repository||Rocky 8||Rocky 9||Enabled|
Notes on: CRB¶
CRB is "Code Ready Builder" - PowerTools was a carryover from CentOS. Based on information from CentOS Stream 9, we will be listing it as CRB going forward in Rocky 9.
Notes on: Lack of "updates" repo¶
In older major versions, it was normal to have an "updates" repo. Fedora for example still follows this. However, in EL8, EL9, and likely so on, there is no "updates" repository. This means all updates happen as is in the same repository. So if
bash receives an update, it will land in
baseos as there is no updates repository.
There are extra repositories offered by Rocky Linux.
|Repository||Rocky 8||Rocky 9||Enabled|
|RT (real time)||Yes||Yes||No|
|SAP / SAP HANA||No||TBD||No|
|Devel / devel||Yes||Yes||No|
Notes on: Extras¶
This repository contains packages that provide some additional functionality to Rocky without breaking upstream compatibility. For example,
rpaste used for sending logs, configuration, or system information to our paste bin.
These are not tested by upstream nor available in the upstream product.
Notes on: Plus¶
This repository contains packages that either A) replace a core component via patched functionality, B) build a component that was originally exclusive for one architecture (eg open-vm-tools built for x86_64 but not aarch64 in Rocky 8) or C) providing packages that were built but not traditionally provided by upstream.
Packages that fall under A and B will have a
.plus added to their version tag. These are not tested nor available in the upstream product.
Notes on: rockyrpi¶
The rockyrpi repository is being/has been moved to a SIG repository. It'll no longer be found in the base Rocky Linux repository directories.
Previous releases, including ISOs and other images, are typically moved into a vault area of our tier 0 mirror once a new minor release version is available for at least a week. The vault can be found here.
Note that these versions are not supported and not recommended for general use.
Community Approved Repositories¶
As with Enterprise Linux and Fedora, there are additional community approved repositories for Rocky Linux. Below are repositories that are approved by Rocky Linux as well as the community.
|Extra Packages for Enterprise Linux (EPEL) - EPEL is by for the most commonly used repository for Enterprise Linux. EPEL provides rebuilds of Fedora packages for every supported enterprise linux. Packages in this repository do not replace the base. You can install EPEL by running
|Community Enterprise Linux Repository (ELRepo) - ELRepo focuses on newer kernels and kmod driver packages to enhance hardware support for EL8 and beyond. This includes display, filesystem, network, storage drivers. You can install the necessary repo files by running
|RPM Fusion - RPM Fusion provides software that the Fedora Project or Red Hat does not want to ship in Enterprise Linux and Fedora. These repositories do rely on EPEL. The policy is to not replace EPEL nor base packages. The free repository can be installed by running
|Remi Repository - Remi maintains a large collection of RPMs, including latest versions of PHP, among other things. His FAQ can be found here. This is a collection of repositories. Using the
|GhettoForge - GhettoForge provides packages not in other third party repositories. Packages that overwrite the base would be in the
|Upstream centos-release-* - In the extras repository, there are