How to Install and Uninstall java-11-openjdk-headless.x86_64 Package on CentOS 8 / RHEL 8

Last updated: May 19,2024

1. Install "java-11-openjdk-headless.x86_64" package

Please follow the guidelines below to install java-11-openjdk-headless.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install java-11-openjdk-headless.x86_64

2. Uninstall "java-11-openjdk-headless.x86_64" package

In this section, we are going to explain the necessary steps to uninstall java-11-openjdk-headless.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove java-11-openjdk-headless.x86_64 $ sudo dnf autoremove

3. Information about the java-11-openjdk-headless.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 5:07:05 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : java-11-openjdk-headless
Epoch : 1
Version : 11.0.11.0.9
Release : 0.el8_3
Architecture : x86_64
Size : 39 M
Source : java-11-openjdk-11.0.11.0.9-0.el8_3.src.rpm
Repository : appstream
Summary : OpenJDK 11 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 11 runtime environment without audio and video support.