AWS Security ChangesHomeSearch

AWS corretto: Corretto 27 Amazon Linux: add yum install and uninstall options

Service: corretto · 2026-09-27 · Documentation low

File: corretto/latest/corretto-27-ug/amazon-linux-install.md

Summary

Adds a new 'Option 1: Install using the yum Package Manager' section (headless/headful/devel/jmods variants, install locations, alternatives links), renumbers the manual RPM section, adds an uninstall section, and bumps the build to 27.0.0.35.1.

Security assessment

Adds installation/uninstallation instructions and package variant descriptions; no vulnerability, CVE, or security hardening guidance is documented.

Evidence

+## Option 1: Install using the yum Package Manager on Amazon Linux

Diff

diff --git a/corretto/latest/corretto-27-ug/amazon-linux-install.md b/corretto/latest/corretto-27-ug/amazon-linux-install.md
index d4568c683..5f943e81e 100644
--- a//corretto/latest/corretto-27-ug/amazon-linux-install.md
+++ b//corretto/latest/corretto-27-ug/amazon-linux-install.md
@@ -7 +7 @@
-Download and Install RPMs ManuallyVerify Your Installation
+Option 1: Install using the yum Package Manager on Amazon LinuxOption 2: Download and Install RPMs Manually Verify Your InstallationUninstall Amazon Corretto 27
@@ -13 +13,37 @@ This topic describes how to install and uninstall Amazon Corretto 27 on a host o
-##  Download and Install RPMs Manually
+## Option 1: Install using the yum Package Manager on Amazon Linux
+
+Amazon Corretto 27 has a 'headless' variant available. This variant omits runtime dependencies that are typically associated with GUI applications such as X11 and ALSA and is worth considering for server-oriented workloads. The 'headful' variant adds support for X11 and ALSA. There is also a 'devel' package which contains the JDK development tools, as well as a 'jmods' package that contains the Amazon Corretto 27 JMods used to create custom runtime images. 
+
+Option 1: Install the headless Amazon Corretto 27:
+
+###### Example
+    
+    
+    sudo yum install java-27-amazon-corretto-headless
+
+Option 2: Install the headful Amazon Corretto 27:
+
+###### Example
+    
+    
+    sudo yum install java-27-amazon-corretto
+
+Option 3: Install the JDK for Amazon Corretto 27:
+
+###### Example
+    
+    
+    sudo yum install java-27-amazon-corretto-devel
+
+Option 4: Install the JMods for Amazon Corretto 27:
+
+###### Example
+    
+    
+    sudo yum install java-27-amazon-corretto-jmods
+
+The installation location is `/usr/lib/jvm/java-27-amazon-corretto.<cpu_arch>`. 
+
+While it is recommended to use `/usr/lib/jvm/java-27-amazon-corretto.<cpu_arch>` location, installation may also add alternative links making installation location accessible via `/etc/alternatives/jre`, `/etc/alternatives/jre_27` and `/etc/alternatives/jre_27_openjdk` for JRE and `/etc/alternatives/java_sdk`, `/etc/alternatives/java_sdk_27` and `/etc/alternatives/java_sdk_27_openjdk` for JDK. The paths under `/etc/alternatives/` may point to another JDK depending on the packages installed and system configuration. 
+
+## Option 2: Download and Install RPMs Manually
@@ -38,3 +74,3 @@ Expected output for 27.0.0:
-    openjdk 27 2026-08-20
-     OpenJDK Runtime Environment Corretto-27.0.0.34.1 (build 27+34-FR)
-     OpenJDK 64-Bit Server VM Corretto-27.0.0.34.1 (build 27+34-FR, mixed mode, sharing)
+    openjdk 27 2026-09-15
+     OpenJDK Runtime Environment Corretto-27.0.0.35.1 (build 27+35-FR)
+     OpenJDK 64-Bit Server VM Corretto-27.0.0.35.1 (build 27+35-FR, mixed mode, sharing)
@@ -53,0 +90,32 @@ If using the JDK you should also run:
+## Uninstall Amazon Corretto 27
+
+You can uninstall Amazon Corretto 27 with the following commands.
+
+Uninstall headless:
+
+###### Example
+    
+    
+    sudo yum remove java-27-amazon-corretto-headless
+
+Uninstall headful:
+
+###### Example
+    
+    
+    sudo yum remove java-27-amazon-corretto
+
+Uninstall devel:
+
+###### Example
+    
+    
+    sudo yum remove java-27-amazon-corretto-devel
+
+Uninstall jmods:
+
+###### Example
+    
+    
+    sudo yum remove java-27-amazon-corretto-jmods
+