Skip to content

Oracle Linux

Oracle Linux is an enterprise Linux distribution built by Oracle Corporation from RHEL source code. It is free to download and use, and offers unique technical advantages such as the Unbreakable Enterprise Kernel (UEK) and Ksplice zero-downtime kernel patching.

Oracle Linux has been available since 2006, making it one of the earliest RHEL-compatible distributions. Unlike community projects such as AlmaLinux and Rocky Linux, Oracle Linux is directly maintained and supported by a major commercial corporation.

  • Free to download, use, and distribute
  • Optional commercial support (Oracle Premier Support)
  • Optimized for the Oracle technology stack (database, middleware, cloud)
  • Unique UEK kernel and Ksplice technology
YearEvent
2006Oracle releases Oracle Enterprise Linux (later renamed Oracle Linux)
2006Oracle launches “Unbreakable Linux” support program
2012Oracle acquires Ksplice technology
2013Oracle Linux 6 introduces UEK R2
2019Oracle Linux 8 released
2022Oracle Linux 9 released
2025Oracle Linux 10 released

Oracle Linux’s most distinctive feature is offering two kernel options.

UEK is an enterprise-grade kernel customized by Oracle based on a newer upstream Linux kernel:

  • Based on more recent Linux mainline kernel versions (rather than RHEL’s older kernel with backported patches)
  • Optimized for Oracle Database, Oracle Cloud, and modern workloads
  • Includes additional performance enhancements and new features
  • Installed and enabled by default
Oracle Linux VersionUEK VersionBased on Kernel
OL 8UEK R6/R75.4 / 5.15
OL 9UEK R75.15
OL 10UEK R86.x

RHCK is the kernel identical to RHEL:

  • Binary-compatible with the RHEL kernel
  • Suitable for scenarios requiring strict RHEL compatibility
  • Can be switched after installation
Terminal window
# Check current kernel
uname -r
# Switch default kernel to RHCK
sudo grubby --set-default /boot/vmlinuz-$(rpm -q kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | tail -1)
# Switch default kernel to UEK
sudo grubby --set-default /boot/vmlinuz-$(rpm -q kernel-uek --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | tail -1)
# Reboot to apply changes
sudo reboot
ScenarioRecommended Kernel
Oracle DatabaseUEK
Oracle CloudUEK
Need latest kernel featuresUEK
Third-party software requires RHEL kernelRHCK
Need RHEL-certified hardware driversRHCK
Mixed RHEL and OL environmentRHCK

Ksplice is one of Oracle Linux’s most compelling technologies, allowing kernel security patches to be applied without rebooting the system.

Ksplice uses runtime binary code replacement to dynamically apply patches while the kernel is running:

  • No server restarts required
  • No maintenance windows needed
  • Security patches can be applied immediately upon release
  • Works with both UEK and RHCK
Terminal window
# Check available Ksplice updates
sudo ksplice show
# View known security updates
sudo ksplice known
# Apply all available patches
sudo uptrack-upgrade -y
# View applied patches
sudo uptrack-show
  • Oracle Linux Premier Support customers: Included in subscription
  • Free users: Ksplice for Oracle Linux (also available for Oracle Cloud free-tier users)

Oracle Linux has an important distinction in its business model — it is completely free:

  • Free to download: Anyone can download from Oracle’s website
  • Free to use: No license required for production environments
  • Free updates: All security and feature updates via Oracle’s public yum repositories
  • Free to redistribute: Open-source licenses allow free distribution

Commercial support (Oracle Premier Support) is an optional paid service.

Oracle Linux is the native operating system for Oracle Cloud Infrastructure (OCI):

  • OCI compute instances provide Oracle Linux images by default
  • Deep integration with Oracle Cloud services
  • Oracle Autonomous Linux: Automated OS management
  • Using Oracle Linux on OCI includes Premier Support

This is an automated management service for Oracle Linux on OCI:

  • Automatic security patching (via Ksplice)
  • Automatic compliance checking
  • Automatic performance tuning
  • Reduced manual operational overhead

Download: yum.oracle.com or edelivery.oracle.com

Terminal window
# View enabled repositories
dnf repolist
# Oracle Linux 9 main repositories:
# ol9_baseos_latest BaseOS
# ol9_appstream AppStream
# ol9_UEKR7 UEK R7 kernel
# ol9_codeready_builder Developer tools
RepositoryDescription
ol9_baseos_latestCore system packages
ol9_appstreamApplications and runtimes
ol9_UEKR7UEK kernel
ol9_codeready_builderDeveloper tools and libraries
ol9_addonsAdditional packages
ol9_developerDeveloper tools
ol9_developer_EPELOracle-maintained EPEL mirror
Terminal window
# Check system version
cat /etc/oracle-release
# Update the system
sudo dnf update -y
# Enable EPEL
sudo dnf install -y oracle-epel-release-el9
# Enable CodeReady Builder
sudo dnf config-manager --set-enabled ol9_codeready_builder

Oracle provides the centos2ol tool for migrating CentOS Linux systems to Oracle Linux:

Terminal window
# Download the migration script
curl -O https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh
# Run migration
sudo bash centos2ol.sh
# Optional: Switch to UEK kernel
sudo dnf install -y kernel-uek
sudo reboot

Supported migration sources:

  • CentOS Linux 7
  • CentOS Linux 8
  • Other RHEL-compatible distributions (partial support)

Oracle’s commercial support includes:

FeatureDescription
Technical Support24/7 technical support
KspliceZero-downtime kernel patching
LifecycleUp to 10+ years per version with extended support
CertificationOracle Database and middleware certification
ComplianceSecurity compliance tools and reporting

Pricing is typically lower than RHEL subscriptions (Oracle intentionally competes with Red Hat in the enterprise support market).

Oracle Linux is particularly well-suited for:

  • Oracle stack users: Running Oracle Database, WebLogic, Oracle E-Business Suite
  • Oracle Cloud users: Native preferred OS on OCI
  • Zero-downtime patching needs: Ksplice is highly valuable for high-availability environments
  • Need newer kernel features: UEK provides more recent capabilities than the RHEL kernel
  • Budget-conscious enterprises: Free to use, purchase support as needed
  • Organizations with concerns about Oracle (vendor lock-in risk)
  • Environments requiring 100% RHEL kernel compatibility (unless switching to RHCK)
  • Users preferring purely community-driven projects

Oracle Linux holds a unique position in the EL ecosystem: it provides RHEL compatibility while offering differentiated value through UEK and Ksplice. For Oracle stack users and scenarios requiring zero-downtime patching, Oracle Linux is a highly competitive choice.