How to Install and Uninstall java-17-amazon-corretto-headless.x86_64 Package on Amazon Linux 2
Last updated: January 09,2025
1. Install "java-17-amazon-corretto-headless.x86_64" package
This is a short guide on how to install java-17-amazon-corretto-headless.x86_64 on Amazon Linux 2
$
sudo yum makecache
Copied
$
sudo yum install
java-17-amazon-corretto-headless.x86_64
Copied
2. Uninstall "java-17-amazon-corretto-headless.x86_64" package
Please follow the steps below to uninstall java-17-amazon-corretto-headless.x86_64 on Amazon Linux 2:
$
sudo yum remove
java-17-amazon-corretto-headless.x86_64
Copied
$
sudo yum autoremove
Copied
3. Information about the java-17-amazon-corretto-headless.x86_64 package on Amazon Linux 2
Loaded plugins: ovl, priorities
Available Packages
Name : java-17-amazon-corretto-headless
Arch : x86_64
Epoch : 1
Version : 17.0.2+8
Release : 1.amzn2.1
Size : 94 M
Repo : amzn2-core/2/x86_64
Summary : Amazon Corretto headless development environment
URL : https://github.com/corretto/corretto-17
License : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and
: GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and
: MPLv2.0 and Public Domain and W3C and zlib and ISC and FTL and
: RSA.
Description : Amazon Corretto's packaging of the runtime core elements of the
: OpenJDK 17 code. (Headless environment)
Available Packages
Name : java-17-amazon-corretto-headless
Arch : x86_64
Epoch : 1
Version : 17.0.2+8
Release : 1.amzn2.1
Size : 94 M
Repo : amzn2-core/2/x86_64
Summary : Amazon Corretto headless development environment
URL : https://github.com/corretto/corretto-17
License : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and
: GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and
: MPLv2.0 and Public Domain and W3C and zlib and ISC and FTL and
: RSA.
Description : Amazon Corretto's packaging of the runtime core elements of the
: OpenJDK 17 code. (Headless environment)