How to Install and Uninstall java-21-openjdk-headless.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)
Last updated: December 18,2024
1. Install "java-21-openjdk-headless.x86_64" package
Learn how to install java-21-openjdk-headless.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)
$
sudo dnf update
Copied
$
sudo dnf install
java-21-openjdk-headless.x86_64
Copied
2. Uninstall "java-21-openjdk-headless.x86_64" package
Please follow the guidance below to uninstall java-21-openjdk-headless.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):
$
sudo dnf remove
java-21-openjdk-headless.x86_64
Copied
$
sudo dnf autoremove
Copied
3. Information about the java-21-openjdk-headless.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)
Last metadata expiration check: 1:11:22 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : java-21-openjdk-headless
Epoch : 1
Version : 21.0.2.0.13
Release : 1.el8
Architecture : x86_64
Size : 49 M
Source : java-21-openjdk-21.0.2.0.13-1.el8.src.rpm
Repository : ubi-8-appstream-rpms
Summary : OpenJDK 21 Headless Runtime Environment
URL : http://openjdk.java.net/
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 : The OpenJDK 21 runtime environment without audio and video support.
Available Packages
Name : java-21-openjdk-headless
Epoch : 1
Version : 21.0.2.0.13
Release : 1.el8
Architecture : x86_64
Size : 49 M
Source : java-21-openjdk-21.0.2.0.13-1.el8.src.rpm
Repository : ubi-8-appstream-rpms
Summary : OpenJDK 21 Headless Runtime Environment
URL : http://openjdk.java.net/
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 : The OpenJDK 21 runtime environment without audio and video support.