MedhaCloud
Link copied to clipboard!
Managed IT Support

Rocky Linux: Versions, RHEL Compatibility & Migration

Sreenivasa Reddy G
Sreenivasa Reddy G
Founder & CEO
Aug 2, 20269 min read
24
Rocky Linux: Versions, RHEL Compatibility & Migration

This is a working reference on Rocky Linux — the same material our Linux server support team uses when assessing RHEL-family estates. It covers what Rocky Linux is, current versions and their support dates, how the project maintains compatibility with Red Hat Enterprise Linux, migrating from CentOS, and how Rocky compares with AlmaLinux.

What is Rocky Linux

Rocky Linux is a free, community-built enterprise Linux distribution designed to be 1:1 binary compatible with Red Hat Enterprise Linux (RHEL). It was founded in December 2020 by Gregory Kurtzer, a co-founder of the original CentOS project, immediately after Red Hat announced it was discontinuing classic CentOS Linux in favor of CentOS Stream. Classic CentOS had been a free downstream rebuild of RHEL; Stream sits upstream of RHEL, which removed the stable, RHEL-identical option many production environments depended on. Rocky Linux was created to fill that gap — the project's own history is documented at rockylinux.org/about.

The project is hosted by the Rocky Enterprise Software Foundation (RESF), a public benefit corporation set up to keep the distribution community-controlled rather than owned by a single vendor. The name honors Rocky McGaugh, a co-founder of the original CentOS project who died before its success.

Versions and support dates

Rocky Linux tracks RHEL major releases and inherits their ten-year lifecycle: roughly five years of active support with minor releases every six months, then five years of security and bug-fix maintenance. Dates are published on the Rocky Linux version wiki.

VersionCodenameReleasedActive support endsEnd of life
Rocky Linux 8Green ObsidianMay 1, 2021May 31, 2024May 31, 2029
Rocky Linux 9Blue OnyxJul 14, 2022May 31, 2027May 31, 2032
Rocky Linux 10Red QuartzJun 11, 2025May 31, 2030May 31, 2035

Rocky 8 is frozen at 8.10 and receives security fixes only. Rocky 9 and 10 continue to receive minor releases (9.7 and 10.1 as of late 2025), each landing shortly after the corresponding RHEL minor release. These dates match the RHEL 8, 9, and 10 lifecycles — background on the upstream product is in our Red Hat Enterprise Linux overview.

RHEL compatibility: the bug-for-bug model

Rocky Linux rebuilds RHEL from source with the goal of bug-for-bug compatibility: the same package versions, the same ABI, and — where a bug exists in RHEL — the same bug in Rocky. Software certified or tested against a given RHEL release is expected to behave identically on the matching Rocky release. Branding, trademarks, and subscription tooling are the intended differences.

In June 2023, Red Hat stopped publishing RHEL source packages to git.centos.org and limited srpm access to its customer portal, whose subscription terms restrict redistribution. Rocky Linux responded by changing where it obtains sources, not what it builds. As described in the project's statement Keeping Open Source Open, Rocky now obtains RHEL sources through UBI container images (published to public registries such as Docker Hub) and through pay-per-use public cloud instances of RHEL, where sources are fetched via dnf in automated CI pipelines. The project's position is that the GPL guarantees the right to redistribute those sources once lawfully obtained.

Migrating from CentOS

The supported migration tool is migrate2rocky, maintained in the official rocky-tools repository on GitHub. It converts a running CentOS, CentOS Stream, AlmaLinux, RHEL, or Oracle Linux system in place by swapping repositories and reinstalling packages from Rocky mirrors. The procedure, per the official migration guide: download the script (migrate2rocky.sh for version 8 systems, migrate2rocky9.sh for version 9), make it executable, and run ./migrate2rocky.sh -r. The -r flag performs the full conversion.

CentOS 7 is not supported by migrate2rocky. The script only converts version 8 and 9 systems. A CentOS 7 server (EOL since June 30, 2024) has two realistic paths: an in-place major-version upgrade to a Rocky 8 target using the ELevate project (built on Red Hat's Leapp framework), followed by migrate2rocky steps as needed — or a fresh Rocky 9/10 install with application data migrated across. For production workloads, the fresh install is the lower-risk path.

Standard precautions apply regardless of path: full backups or snapshots first, third-party repositories (EPEL survives; vendor repos may not) reviewed, and the migration tested on a clone before touching production.

Rocky Linux vs AlmaLinux

AlmaLinux launched in the same window, for the same reason, and the two are the main CentOS replacement options. The practical differences:

AspectRocky LinuxAlmaLinux
GovernanceRESF, a public benefit corporation founded by Gregory KurtzerAlmaLinux OS Foundation, a 501(c)(6) non-profit; originally seeded by CloudLinux
Compatibility targetBug-for-bug, 1:1 with RHELABI-compatible with RHEL since 2023; may ship its own bug fixes and small divergences
Source approach post-2023RHEL sources via UBI images and cloud instancesCentOS Stream and other upstream sources, targeting ABI equality rather than identical builds

After the 2023 source changes, the projects diverged in philosophy: Rocky held to exact RHEL reproduction, while AlmaLinux dropped the bug-for-bug goal in favor of ABI compatibility, which lets it patch faster or fix bugs Red Hat has not. Either is a valid CentOS replacement; the choice usually comes down to whether exact RHEL parity matters for vendor certification. A fuller profile of the alternative is in our AlmaLinux reference.

Commercial support

Rocky Linux itself carries no vendor support contract. CIQ, the company founded by Gregory Kurtzer and a founding sponsor of the project, sells commercial support, hardened builds, and long-term support offerings for Rocky Linux.

Packages and updates

Rocky uses the same tooling as RHEL: dnf for package management, RPM packages, dnf modules/AppStream on 8 and 9, systemd, SELinux enabled by default, and firewalld. Routine patching is dnf update against the Rocky mirrors; errata are published so security updates can be filtered and audited. EPEL provides the extra-packages layer, exactly as it did on CentOS. Administration guides are maintained at docs.rockylinux.org.

Who runs Rocky Linux

Rocky's largest constituencies are the ones classic CentOS served: high-performance computing (Kurtzer's background — HPC clusters standardize on RHEL-compatible images), web hosting providers, and enterprises running RHEL-certified software without RHEL subscriptions on every node. cPanel supports Rocky Linux as an installation OS, which keeps it common on hosting servers, and the major clouds (AWS, Azure, Google Cloud) publish official Rocky images.

FAQ

Is Rocky Linux free?

Yes. Rocky Linux is free to download, use, and redistribute, with no subscriptions or per-node licensing. Paid support is optional, through CIQ or independent providers.

Is Rocky Linux the same as CentOS?

Functionally it fills the same role classic CentOS did: a free rebuild of RHEL. It is a separate project with separate infrastructure and governance, but was founded by a CentOS co-founder specifically to replace discontinued CentOS Linux.

Which is better, Rocky Linux or AlmaLinux?

Neither is categorically better. Rocky targets exact bug-for-bug RHEL reproduction; AlmaLinux targets ABI compatibility and can diverge on individual fixes. For strict vendor-certification parity, Rocky's model is the closer match; for faster independent patching, AlmaLinux's model allows it.

How long is Rocky Linux supported?

Ten years per major release, matching RHEL. Rocky 8 reaches end of life May 31, 2029; Rocky 9 on May 31, 2032; Rocky 10 on May 31, 2035.

Running CentOS 7 past its end of life, or planning a Rocky migration? Linux server management from Medha Cloud covers migration planning, in-place conversions, patching baselines, and ongoing administration for RHEL-family servers.

Protect your organization with expert healthcare IT support designed for HIPAA compliance.

HIPAA IT Compliance Support

Topics

rocky-linuxcentos-replacementrhel-compatible
Sreenivasa Reddy G
Written by

Sreenivasa Reddy G

Founder & CEO15+ years

Sreenivasa Reddy is the Founder and CEO of Medha Cloud, recognized as "Startup of the Year 2024" by The CEO Magazine. With over 15 years of experience in cloud infrastructure and IT services, he leads the company's vision to deliver enterprise-grade cloud solutions to businesses worldwide.

Managed IT SupportCloud InfrastructureDigital Transformation
Follow on LinkedIn

Need Expert Help?

Our certified cloud and IT engineers are ready to tackle your toughest challenges — from migrations to managed services.