Add the APT Repository on Ubuntu or Debian

You can add the Zulu repository to your apt sources by installing the zulu-repo package.

Note taht the Azul repository contains DEB packages for the x86 architectures. If the system architecture of your machine is different from x86 (for example, arm32), consider downloading an appropriate tar.gz package for your architecture from Zulu Downloads.

The following steps explain how to install the zulu-repo package:

  1. Log in as root, or use sudo when running the commands.

  2. Import Azul's public key.

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9

  3. Download the installation package from the Azul Systems site https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-2_all.deb.

  4. Install the downloaded package by running the following command in your terminal:

    sudo apt-get install ./zulu-repo_1.0.0-2_all.deb

  5. Update the information about available packages.

    sudo apt-get update

When the APT repository is installed, proceed to Installation on Linux Using an APT Repository.