How to Install and Uninstall java-17-amazon-corretto.x86_64 Package on Amazon Linux 2

Last updated: November 15,2024

1. Install "java-17-amazon-corretto.x86_64" package

This guide let you learn how to install java-17-amazon-corretto.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install java-17-amazon-corretto.x86_64

2. Uninstall "java-17-amazon-corretto.x86_64" package

This guide let you learn how to uninstall java-17-amazon-corretto.x86_64 on Amazon Linux 2:

$ sudo yum remove java-17-amazon-corretto.x86_64 $ sudo yum autoremove

3. Information about the java-17-amazon-corretto.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : java-17-amazon-corretto
Arch : x86_64
Epoch : 1
Version : 17.0.2+8
Release : 1.amzn2.1
Size : 178 k
Repo : amzn2-core/2/x86_64
Summary : Amazon Corretto 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.