Comments on: How to Install Java on AlmaLinux 10: A Step-by-Step Guide https://linuxiac.com/how-to-install-java-on-almalinux-10/ All things Linux & Open Source Mon, 25 Aug 2025 06:17:28 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Eero https://linuxiac.com/how-to-install-java-on-almalinux-10/#comment-77585 Mon, 25 Aug 2025 06:17:28 +0000 https://linuxiac.com/?p=180929#comment-77585 In reply to Eero.

# dnf check-update
# dnf install -y temurin-24-jdk

Accidentaly posted comment before last two command 🙁

Cheers for the nice blogs

]]>
By: Eero https://linuxiac.com/how-to-install-java-on-almalinux-10/#comment-77582 Mon, 25 Aug 2025 06:14:39 +0000 https://linuxiac.com/?p=180929#comment-77582 And if you need multiple versions of Java like other LTS versions (8, 11, 17) or STS (24). You can enable EPEL and install for example version 24 with following commands:

# dnf install -y dnf-plugins-core
# dnf config-manager –set-enabled crb
# dnf install -y epel-release
# dnf install -y adoptium-temurin-java-repository
# sed ‘s/^enabled=0/enabled=1/’ /etc/yum.repos.d/adoptium-temurin-java-repository.repo

]]>