How to Install and Uninstall openjdk-18-jdk-headless Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 22,2024

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

Please follow the step by step instructions below to install openjdk-18-jdk-headless on Ubuntu 22.10 (Kinetic Kudu)

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

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

Please follow the guidance below to uninstall openjdk-18-jdk-headless on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the openjdk-18-jdk-headless package on Ubuntu 22.10 (Kinetic Kudu)

Package: openjdk-18-jdk-headless
Architecture: amd64
Version: 18.0.2+9-2
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-18
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 223473
Provides: java-compiler, java-sdk-headless, java10-sdk-headless, java11-sdk-headless, java12-sdk-headless, java13-sdk-headless, java14-sdk-headless, java15-sdk-headless, java16-sdk-headless, java17-sdk-headless, java2-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-18-jre-headless (= 18.0.2+9-2), libc6 (>= 2.34)
Suggests: openjdk-18-demo, openjdk-18-source
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-18/openjdk-18-jdk-headless_18.0.2+9-2_amd64.deb
Size: 220130322
MD5sum: 2b437bec90b57e2c705b108c8d755fad
SHA1: 7bc586dfed749474ca1cb5c592498bc349c6c933
SHA256: b5d460f300005dee6a382d402f31b7eb41fe8e76edc349f3fbd89a0c5ecfc57f
SHA512: e93ea86a5f8ecd26fe7dd6208ef7f38c99b7512a1cd6762001424b1acc1efe2167adb5685569ac3aaa36c5aeb001e1767b57b4ada6806a2e514bbadcd9f8b553
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) (headless)
Description-md5: 494a52f34d707a832270d6d51a78f511