Eclipse Temurin RPM, DEB and APK packages are now available for installation on your favourite Linux distribution.
Note
See Supported Platforms for a list of our officially supported installers by Linux distribution / version. Other Linux distributions / versions are supported on a best-effort basis.
Eclipse Temurin Package Names
The following name schema is being used:
temurin-<version>-jdk e.g temurin-25-jdk or temurin-8-jdk
Deb installation on Debian or Ubuntu
-
Ensure the necessary packages are present:
sudo apt install -y wget apt-transport-https gpg -
Download the Eclipse Adoptium GPG key:
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null -
Configure the Eclipse Adoptium apt repository. To check the full list of versions supported take a look at the list in the tree at https://packages.adoptium.net/ui/native/deb/dists/.
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.listTip
For Linux Mint (based on Ubuntu) you have to replaceVERSION_CODENAMEwithUBUNTU_CODENAME. -
Install the Temurin version you require:
sudo apt update # update if you haven't already sudo apt install temurin-25-jdk
CentOS/RHEL/Fedora Instructions
-
Add the RPM repo to
/etc/yum.repos.d/adoptium.repomaking sure to change the distribution name if you are not using CentOS/RHEL/Fedora. To check the full list of versions supported take a look at the list in the tree at https://packages.adoptium.net/ui/native/rpm/.# Uncomment and change the distribution name if you are not using CentOS/RHEL/Fedora # DISTRIBUTION_NAME=centos sudo cat <<EOF > /etc/yum.repos.d/adoptium.repo [Adoptium] name=Adoptium baseurl=https://packages.adoptium.net/artifactory/rpm/${DISTRIBUTION_NAME:-$(. /etc/os-release; echo $ID)}/\$releasever/\$basearch enabled=1 gpgcheck=1 gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public EOF -
Install the Temurin version you require using
dnf:sudo dnf install temurin-25-jdkAlternatively, if you are using
yum:sudo yum install temurin-25-jdk
Installing the JRE
If you only require the Java Runtime Environment (for running applications, not compiling them), install the JRE package:
sudo dnf install temurin-<version>-jre
Example:
sudo dnf install temurin-21-jre
Installing the Headless JRE
For server environments where no graphical components are required, a headless JRE package is also available. This excludes GUI-related libraries such as AWT and reduces the overall installation footprint.
sudo dnf install temurin-<version>-jre-headless
Example:
sudo dnf install temurin-21-jre-headless
The jre-headless package is recommended for:
-
Container images
-
Minimal server installations
-
CI/CD build agents
-
Headless production workloads
openSUSE/SLES Instructions
-
Import the RPM repo as follows. RPM’s are also available for SLES 12 and 15. To check the full list of versions supported take a look at https://packages.adoptium.net/ui/native/rpm/. The repositories may work with other versions but are not guaranteed and have not been tested.
sudo zypper ar -f https://packages.adoptium.net/artifactory/rpm/opensuse/$(. /etc/os-release; echo $VERSION_ID)/$(uname -m) adoptium -
Install the Temurin version you require:
sudo zypper install temurin-25-jdk
Alpine Linux Instructions
-
Download the Eclipse Adoptium RSA key:
sudo wget -O /etc/apk/keys/adoptium.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk -
Configure the Eclipse Adoptium APK repository:
echo 'https://packages.adoptium.net/artifactory/apk/alpine/main' | sudo tee -a /etc/apk/repositories -
Install the Temurin version you require:
sudo apk add temurin-25-jdk
Please raise any issues over at https://github.com/adoptium/installer/issues.












