AWS corretto documentation change
Summary
Removed steps for enabling yum repository on Amazon Linux 2 and deleted installation/uninstallation examples for JRE and JDK packages
Security assessment
The changes remove outdated repository configuration steps and package management commands. There is no evidence of security vulnerability fixes or security-related content modifications.
Diff
diff --git a/corretto/latest/corretto-11-ug/amazon-linux-install.md b/corretto/latest/corretto-11-ug/amazon-linux-install.md index 9d8205b02..371c2a9af 100644 --- a//corretto/latest/corretto-11-ug/amazon-linux-install.md +++ b//corretto/latest/corretto-11-ug/amazon-linux-install.md @@ -13,23 +12,0 @@ This topic describes how to install and uninstall Amazon Corretto 11 on a host o - 1. Enable the yum repository in Amazon Linux 2. This is not required on Amazon Linux 2022 and later. - -###### Example - - sudo amazon-linux-extras enable corretto8 - - 2. You can install Amazon Corretto 11 as either the runtime environment (JRE) or the full development environment (JDK). The development environment includes the runtime environment. - -Install Amazon Corretto 11 as JRE. - -###### Example - - sudo yum install java-11-amazon-corretto - -Install Amazon Corretto 11 as JDK. - -###### Example - - sudo yum install java-11-amazon-corretto-devel - - - - @@ -115,14 +91,0 @@ You can uninstall Amazon Corretto 11 with the following commands. -Uninstall JRE: - -###### Example - - - sudo yum remove java-11-amazon-corretto - -Uninstall JDK: - -###### Example - - - sudo yum remove java-11-amazon-corretto-devel -