Visit Azul.com Support

Installing Azul Zulu CA RPM-Packages on Linux

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

Community Availability (CA) distributions are Azul Zulu Builds of OpenJDK that are free to download and use.

Use the following instructions to install Azul Zulu CA on an RPM-based system with yum.

This section explains how to install Azul Zulu Builds of OpenJDK on RPM-based Linux distributions. Azul provides RPM packages for RHEL, SLES, and Oracle Linux.

Install from Azul RPM repository

This section shows how to set up Azul’s RPM repository and install Azul Zulu using your package manager.

Note

The Azul repository contains RPM packages for the x86 and ARM64 architectures. If your machine has a different CPU architecture (for example, ARM32), consider installing the appropriate TAR.GZ package. You can find TAR.GZ packages for all supported platforms on the Downloads page.

Installing with a package manager requires root privileges. Log in as root or use sudo to execute the commands listed below.

  1. Set up the Azul RPM repository.

    For RHEL or Oracle Linux:

     
    # Add the Azul RPM repository yum install -y https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm

    For SLES:

     
    # Download the package that adds Azul's RPM repository curl -O https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm # Import Azul's public key rpm --import https://repos.azul.com/azul-repo.key # Install the package zypper install -y zulu-repo-1.0.0-1.noarch.rpm
  2. Install the required Azul Zulu package.

    For RHEL or Oracle Linux:

     
    # Install Azul Zulu 21 JDK yum install -y zulu21-jdk

    For SLES:

     
    # Install Azul Zulu JDK 21 zypper install -y zulu21-jdk

    The default installation folder is:

     
    /usr/lib/jvm/java-<major_version>-zulu-openjdk-ca

    For example, the default installation folder for Azul Zulu JDK 21 is:

     
    /usr/lib/jvm/java-21-zulu-openjdk-ca
  3. (Optional) You may want to add the <installation_folder>/bin to your PATH environment variable so you can run java without typing the full path.

     
    export PATH=<installation_folder>/bin:$PATH

Install Azul Zulu RPM package

You can download the RPM package and install it using a package manager.

  1. Download the RPM package for your OS from Azul Downloads.

  2. Verify that the checksum of the downloaded file matches the value provided on the download page. To calculate the checksum, use this command:

     
    sha256sum <zulu_package>.rpm

    Here is an example output:

     
    $ sha256sum zulu21.36.17-ca-jdk21.0.4-linux.x86_64 4ac676f55418b18b18268bf206c4970ecd16a3a8073ecbab20b78c86c346a7ef zulu21.36.17-ca-jdk21.0.4-linux.x86_64
  3. Install the package using the package manager of your OS. Using the package manager requires root privileges. Log in as root or use sudo to execute the commands listed below.

    For RHEL or Oracle Linux:

     
    sudo yum install <package>.rpm

    For SLES:

     
    sudo zypper install <package>.rpm

Unresolved directive in linux-ca-rpm.adoc - include::common/install-on-linux-from-tar-gz.adoc[leveloffset=+1]