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

Last updated: November 26,2024

1. Install "openjdk-21-jdk-headless" package

Please follow the step by step instructions below to install openjdk-21-jdk-headless on Ubuntu 23.10 (Mantic Minotaur)

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

2. Uninstall "openjdk-21-jdk-headless" package

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

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

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

Package: openjdk-21-jdk-headless
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: 93667
Provides: java-compiler, java-sdk-headless (= 21), java10-sdk-headless, java11-sdk-headless, java12-sdk-headless, java13-sdk-headless, java14-sdk-headless, java15-sdk-headless, java16-sdk-headless, java17-sdk-headless, java18-sdk-headless, java19-sdk-headless, java2-sdk-headless, java20-sdk-headless, java21-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-21-jre-headless (= 21.0.1+12-2~23.10), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Suggests: openjdk-21-demo, openjdk-21-source
Breaks: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Replaces: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Filename: pool/universe/o/openjdk-21/openjdk-21-jdk-headless_21.0.1+12-2~23.10_amd64.deb
Size: 82432250
MD5sum: 9fedac95b5e5c43ea18f61e5c7e6f839
SHA1: 5422bdb415a6f86d7a42eca58f7461c875096d73
SHA256: de9f0578ff6aeeaafb6b89ca4f51d9541289190147a2a9c34170760775157a9d
SHA512: 6b8fbf8e103befa797df6f50640398552ec87bbfb81de9c9527298874bd29a7bf51bad2bd883c9f363b769aea423ea3db08d028cccff95e295e9994edb243416
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) (headless)
Description-md5: 494a52f34d707a832270d6d51a78f511

Package: openjdk-21-jdk-headless
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: 93649
Provides: java-compiler, java-sdk-headless (= 21), java10-sdk-headless, java11-sdk-headless, java12-sdk-headless, java13-sdk-headless, java14-sdk-headless, java15-sdk-headless, java16-sdk-headless, java17-sdk-headless, java18-sdk-headless, java19-sdk-headless, java2-sdk-headless, java20-sdk-headless, java21-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-21-jre-headless (= 21+35-1), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Suggests: openjdk-21-demo, openjdk-21-source
Breaks: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Replaces: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Filename: pool/universe/o/openjdk-21/openjdk-21-jdk-headless_21+35-1_amd64.deb
Size: 82399318
MD5sum: 6e0cb451625d38d4f5ed978f62c6bb77
SHA1: 81c13d7b6c8a06a9cdec2871142b3f577973f59a
SHA256: 333afbb8a884351471ecd01ca8707ab0f854246fe0189813e4ecac27287c8c4b
SHA512: aa0dcc943af9a0629b04096176a841a4c66e02e43c85f1f413d15c4497cecdef7581f55966c026d7dfb4ff8a3a2ac445ad1c21a2056c53c8f4d89d92ab029fe2
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) (headless)
Description-md5: 494a52f34d707a832270d6d51a78f511