How To Install java-latest-openjdk-fastdebug on Rocky Linux 8

In this tutorial we learn how to install java-latest-openjdk-fastdebug on Rocky Linux 8. java-latest-openjdk-fastdebug is OpenJDK 16 Runtime Environment with minimal debugging on

Introduction

In this tutorial we learn how to install java-latest-openjdk-fastdebug on Rocky Linux 8.

What is java-latest-openjdk-fastdebug

The OpenJDK 16 runtime environment. This package is optimised with full debugging. Install only as needed and remove ASAP.

We can use yum or dnf to install java-latest-openjdk-fastdebug on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install java-latest-openjdk-fastdebug.

Install java-latest-openjdk-fastdebug on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install java-latest-openjdk-fastdebug using dnf by running the following command:

sudo dnf -y install java-latest-openjdk-fastdebug

Install java-latest-openjdk-fastdebug on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install java-latest-openjdk-fastdebug using yum by running the following command:

sudo yum -y install java-latest-openjdk-fastdebug

How To Uninstall java-latest-openjdk-fastdebug on Rocky Linux 8

To uninstall only the java-latest-openjdk-fastdebug package we can use the following command:

sudo dnf remove java-latest-openjdk-fastdebug

java-latest-openjdk-fastdebug Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/e405408bab71d53e124223f2bb0e5f5b321f3c
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/ed795346c1c113315e79635c740f0aed0e16ab
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/d8082d9d2edbbc0c4343f02c9f993a3c711e02
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-fastdebug/lib/libawt_xawt.so
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-fastdebug/lib/libjawt.so
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-fastdebug/lib/libsplashscreen.so
/usr/share/icons/hicolor/16x16/apps/java-16-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-16-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-16-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-16-openjdk.png

References

Summary

In this tutorial we learn how to install java-latest-openjdk-fastdebug on Rocky Linux 8 using yum and dnf.