How to Install and Uninstall openjdk-21-jdk Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 07,2024

1. Install "openjdk-21-jdk" package

This guide covers the steps necessary to install openjdk-21-jdk on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install openjdk-21-jdk

2. Uninstall "openjdk-21-jdk" package

Please follow the guidelines below to uninstall openjdk-21-jdk on Ubuntu 23.10 (Mantic Minotaur):

$ sudo apt remove openjdk-21-jdk $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-21-jdk package on Ubuntu 23.10 (Mantic Minotaur)

Package: openjdk-21-jdk
Architecture: amd64
Version: 21.0.1+12-2~23.10
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1640
Provides: java-compiler, java-sdk (= 21), java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java18-sdk, java19-sdk, java2-sdk, java20-sdk, java21-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-21-jre (= 21.0.1+12-2~23.10), openjdk-21-jdk-headless (= 21.0.1+12-2~23.10), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-21-demo, openjdk-21-source, visualvm
Filename: pool/universe/o/openjdk-21/openjdk-21-jdk_21.0.1+12-2~23.10_amd64.deb
Size: 1619398
MD5sum: 21b453a7fc95312f69a1a03c70b505fd
SHA1: 38e07465833356cddffe020d90d0a53b93146b52
SHA256: bdd215f453befab14d54fcd543189767aaa5c11bffde6ff1933d15374015492d
SHA512: 45914c922ea142ff5315b2cf1b44fe2359fe0f82d687d5177b23779f34acdd38d6aa923caa0a28a3c636d8f38efacef4d04bdd4f9e80c027b5b3826304f26d8a
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045

Package: openjdk-21-jdk
Architecture: amd64
Version: 21+35-1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3501
Provides: java-compiler, java-sdk (= 21), java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java18-sdk, java19-sdk, java2-sdk, java20-sdk, java21-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-21-jre (= 21+35-1), openjdk-21-jdk-headless (= 21+35-1), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-21-demo, openjdk-21-source, visualvm
Filename: pool/universe/o/openjdk-21/openjdk-21-jdk_21+35-1_amd64.deb
Size: 3358852
MD5sum: b52e0ebe46fdf2a2a752f196e2279b8b
SHA1: 2afc5f810f4ff9b401d389dfd65a116427d9e958
SHA256: a7c2f784b9c6531a23aa788ab4e331a51ad5eb00300e38e614b601c9c58d7296
SHA512: 83786df7757c0bef03ce1b53df7b9595a04c939c9de77e224a45be660c1730659a144fd458da11c75d62bb42b347b0d44f798f5503d5973a96c17118f00c5657
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045