How to Install and Uninstall java-1.8.0-openjdk.x86_64 Package on AlmaLinux 8

Last updated: May 17,2024

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

This is a short guide on how to install java-1.8.0-openjdk.x86_64 on AlmaLinux 8

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

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

Please follow the guidance below to uninstall java-1.8.0-openjdk.x86_64 on AlmaLinux 8:

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

3. Information about the java-1.8.0-openjdk.x86_64 package on AlmaLinux 8

Last metadata expiration check: 2:07:40 ago on Mon Sep 5 03:22:42 2022.
Available Packages
Name : java-1.8.0-openjdk
Epoch : 1
Version : 1.8.0.342.b07
Release : 2.el8_6
Architecture : x86_64
Size : 347 k
Source : java-1.8.0-openjdk-1.8.0.342.b07-2.el8_6.src.rpm
Repository : appstream
Summary : OpenJDK 8 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.