How To Install java-11-openjdk-devel on Rocky Linux 8

In this tutorial we learn how to install java-11-openjdk-devel on Rocky Linux 8. java-11-openjdk-devel is OpenJDK 11 Development Environment

Introduction

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

What is java-11-openjdk-devel

The OpenJDK 11 development tools.

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

Install java-11-openjdk-devel 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-11-openjdk-devel using dnf by running the following command:

sudo dnf -y install java-11-openjdk-devel

Install java-11-openjdk-devel 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-11-openjdk-devel using yum by running the following command:

sudo yum -y install java-11-openjdk-devel

How To Uninstall java-11-openjdk-devel on Rocky Linux 8

To uninstall only the java-11-openjdk-devel package we can use the following command:

sudo dnf remove java-11-openjdk-devel

java-11-openjdk-devel Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/a923ebb65752d9a48f91794d1974e0ca006bde
/usr/lib/.build-id/08
/usr/lib/.build-id/08/d37945982bb4b231aab9a71011e471e52e2176
/usr/lib/.build-id/0e/151e4d33f321c7d9c7b8b6612b7099658ad22c
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/2fb743b4eadfcd3a45bfcba5a56895c7a608c0
/usr/lib/.build-id/14
/usr/lib/.build-id/14/8d07893385572a347263f5f587cd53b6d92535
/usr/lib/.build-id/18/4f883d3bb6713bb20e49cb0aef0a5ce82de4ae
/usr/lib/.build-id/25/ab0a7a5f6a3a08004872a9efe890d8ec7bff7e
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/349faa8407b42e8c25459ceb30f5def3646a7d
/usr/lib/.build-id/31
/usr/lib/.build-id/31/e179910101dfd791acdbc6f6d839bd0cdfe422
/usr/lib/.build-id/35/18ec56fc8dab67f9773a8411d81a2b41acf20c
/usr/lib/.build-id/37/f73946f62a31d4d0b6ed2217bfc587fe981f25
/usr/lib/.build-id/45
/usr/lib/.build-id/45/f4393cfb557eff60d242d8add9ac9fa55582f2
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/d34c1f2ea1ed845a0458ff1675f9927f70b921
/usr/lib/.build-id/63
/usr/lib/.build-id/63/2eda8cf151bf34372756a2dfd5a64c503ae09b
/usr/lib/.build-id/63/8cb17da0158e16e2cd73bc33868e87363b1798
/usr/lib/.build-id/76/5b4ee65fafd618c8398e067787f0e824b6bba5
/usr/lib/.build-id/7c/f7627b679c0238baf958b33b0f5814b719f5c5
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/871b3ca88d467cd76d6e9f9e4bb78fb953351d
/usr/lib/.build-id/87
/usr/lib/.build-id/87/274e722432591cead468fa1698764692de572d
/usr/lib/.build-id/93
/usr/lib/.build-id/93/88da3e045d24018caace535d98a7e52949782b
/usr/lib/.build-id/94/7e92f4318dd1f3d176296aaa54312dd6d89c5c
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/f2348276061f202daddc9dcfe006e88154fa12
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/566ef0db805ccbce5bba8405960443690dbe87
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/912b7e1d3a67f103322dcb391da3127f3bbc81
/usr/lib/.build-id/c9/0b117656a6cf579590c8c4c476eb38224d7193
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/f5a06e2b716f37e5f319c6429c63dd9ab97e14
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jaotc
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jar
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jarsigner
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/javac
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/javadoc
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/javap
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jcmd
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jconsole
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jdb
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jdeprscan
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jdeps
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jfr
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jhsdb
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jimage
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jinfo
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jlink
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jmap
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jmod
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jps
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jrunscript
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jshell
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jstack
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jstat
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/jstatd
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/rmic
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/bin/serialver
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/classfile_constants.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/jawt.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/jdwpTransport.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/jni.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/jvmti.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/jvmticmlr.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/linux
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/linux/jawt_md.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/include/linux/jni_md.h
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/lib/ct.sym
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/tapset
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/tapset/hotspot-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/tapset/hotspot_gc-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/tapset/hotspot_jni-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64/tapset/jstack-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/share/applications/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64-jconsole.desktop
/usr/share/man/man1/jar-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jarsigner-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/javac-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/javadoc-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/javap-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jcmd-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jconsole-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jdb-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jdeps-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jinfo-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jmap-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jps-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jrunscript-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jstack-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jstat-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/jstatd-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/rmic-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/man/man1/serialver-java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64.1.gz
/usr/share/systemtap
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/x86_64
/usr/share/systemtap/tapset/x86_64/hotspot-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/hotspot_gc-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/hotspot_jni-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/jstack-11.0.11.0.9-2.el8_4.x86_64.stp
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/6a452ca8c3820718f9dceaa5c44454c8a2d07e
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/537601cbfe4cddf11d3d6d4a9be0bdf3ec4988
/usr/lib/.build-id/11/5b4537196a2fcf916d9262bf50214198d9fc80
/usr/lib/.build-id/16/dfa0b11c36026b9c4fa637e2e0e40dc9f9d558
/usr/lib/.build-id/2c/5e36b8a97a13645ad932755584aa2b49460571
/usr/lib/.build-id/38/ce9b7ed9bbd212c3601cceb4161fcfc6a79601
/usr/lib/.build-id/3c/381bbff167a2e22f0de55be9679e7830ec1233
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/7a1e297c4bcf284b95e1129df933ddbb5f71be
/usr/lib/.build-id/51/7cc7cfff8cafbe12ace71d4c295e925b19a874
/usr/lib/.build-id/58
/usr/lib/.build-id/58/f9fb57a121aab57a30064aebffee583642dd98
/usr/lib/.build-id/59
/usr/lib/.build-id/59/0d05167fc0a9c81bf20a52d550c32fa64a5185
/usr/lib/.build-id/76
/usr/lib/.build-id/76/6742d1e378d130bae6c93eda959a4cf66a99f7
/usr/lib/.build-id/78/0b3a381668f8651fe69f77e50812d2620a75f7
/usr/lib/.build-id/83
/usr/lib/.build-id/83/c16d54666d41ce2a0c20f32a27d459f3dacfa9
/usr/lib/.build-id/84
/usr/lib/.build-id/84/7916b96955a321be00bcc43a5ccc40794b6704
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/cc2b9a215a6901b90be62f6c9c44d2caa056dd
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/ade0b676cff60a6c125e9b0b38ef26fadc81f7
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/86fb6781dd38413adef2ecd0db8885d53e0a3d
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/38e3ebff6a8d18df94b8152674aaa9bcb238f0
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/8d16064798b1f70f7bf59266b4470457bc790e
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/e93d27acf42b390d37968de67392bc8af459c5
/usr/lib/.build-id/e5/39312ce33c317dfc4446760f4f357290086d29
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/91a00c57372b3d154819281264f6329b91f72a
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/254e433fda4157f508508959bc85e63aab1be8
/usr/lib/.build-id/ef/04d17667478a846a08c7c0d4d43411b596d546
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/6cb34247f9fbc850129f943e937c3de5187c85
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jaotc
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jar
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jarsigner
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/javac
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/javadoc
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/javap
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jcmd
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jconsole
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jdb
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jdeprscan
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jdeps
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jfr
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jhsdb
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jimage
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jinfo
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jlink
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jmap
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jmod
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jps
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jrunscript
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jshell
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jstack
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jstat
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/jstatd
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/rmic
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/bin/serialver
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/classfile_constants.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/jawt.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/jdwpTransport.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/jni.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/jvmti.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/jvmticmlr.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/linux
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/linux/jawt_md.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/include/linux/jni_md.h
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/lib/ct.sym
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/tapset
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/tapset/hotspot-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/tapset/hotspot_gc-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/tapset/hotspot_jni-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/tapset/jstack-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/share/applications/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64-jconsole.desktop
/usr/share/man/man1/jar-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jarsigner-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/javac-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/javadoc-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/javap-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jcmd-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jconsole-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jdb-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jdeps-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jinfo-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jmap-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jps-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jrunscript-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jstack-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jstat-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/jstatd-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/rmic-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/man/man1/serialver-java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64.1.gz
/usr/share/systemtap
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/x86_64
/usr/share/systemtap/tapset/x86_64/hotspot-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/hotspot_gc-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/hotspot_jni-11.0.12.0.7-0.el8_4.x86_64.stp
/usr/share/systemtap/tapset/x86_64/jstack-11.0.12.0.7-0.el8_4.x86_64.stp

References

Summary

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