How to Install and Uninstall java-1.8.0-openjdk-headless.x86_64 Package on Oracle Linux 9

Last updated: November 28,2024

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

In this section, we are going to explain the necessary steps to install java-1.8.0-openjdk-headless.x86_64 on Oracle Linux 9

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

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

This tutorial shows how to uninstall java-1.8.0-openjdk-headless.x86_64 on Oracle Linux 9:

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

3. Information about the java-1.8.0-openjdk-headless.x86_64 package on Oracle Linux 9

Last metadata expiration check: 3:18:38 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : java-1.8.0-openjdk-headless
Epoch : 1
Version : 1.8.0.402.b06
Release : 2.0.1.el9
Architecture : x86_64
Size : 33 M
Source : java-1.8.0-openjdk-1.8.0.402.b06-2.0.1.el9.src.rpm
Repository : ol9_appstream
Summary : OpenJDK 8 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
Description : The OpenJDK 8 runtime environment without audio and video support.