How to Install and Uninstall java-17-openjdk-headless.x86_64 Package on CentOS Stream 9

Last updated: September 25,2024

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

This tutorial shows how to install java-17-openjdk-headless.x86_64 on CentOS Stream 9

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

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

This is a short guide on how to uninstall java-17-openjdk-headless.x86_64 on CentOS Stream 9:

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

3. Information about the java-17-openjdk-headless.x86_64 package on CentOS Stream 9

Last metadata expiration check: 1:55:40 ago on Sat Mar 16 16:03:45 2024.
Available Packages
Name : java-17-openjdk-headless
Epoch : 1
Version : 17.0.6.0.10
Release : 3.el9
Architecture : x86_64
Size : 42 M
Source : java-17-openjdk-17.0.6.0.10-3.el9.src.rpm
Repository : appstream
Summary : OpenJDK 17 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 17 runtime environment without audio and video support.