How to Install and Uninstall openjdk-11-jdk-headless Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

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

This guide let you learn how to install openjdk-11-jdk-headless on Ubuntu 21.10 (Impish Indri)

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

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

This guide let you learn how to uninstall openjdk-11-jdk-headless on Ubuntu 21.10 (Impish Indri):

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

3. Information about the openjdk-11-jdk-headless package on Ubuntu 21.10 (Impish Indri)

Package: openjdk-11-jdk-headless
Architecture: amd64
Version: 11.0.12+7-0ubuntu3
Multi-Arch: same
Priority: optional
Section: java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 222184
Provides: java-compiler, java-sdk-headless, java10-sdk-headless, java11-sdk-headless, java2-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-11-jre-headless (= 11.0.12+7-0ubuntu3), libc6 (>= 2.34)
Suggests: openjdk-11-demo, openjdk-11-source
Breaks: openjdk-11-jre-headless (<< 11.0.11+3-2~)
Replaces: openjdk-11-jre-headless (<< 11.0.11+3-2~)
Filename: pool/main/o/openjdk-lts/openjdk-11-jdk-headless_11.0.12+7-0ubuntu3_amd64.deb
Size: 217164424
MD5sum: a83526bb27ec0ab57f34df69e2466b01
SHA1: 226a603324073cecf2581283a23b139c58907c9e
SHA256: 8ffadb87883b95a0be7d596edfdbcdc9dd75b0b13a214e98bdd45862da8ff81c
SHA512: 2d11914a7d004ac7e804d39a15c4a000c972fff391efab8781c3a054ef832fcfc2310915b3f674327e0b4fcd058cd9d85988bb0b851f7e9f7dc1dc1f989b1579
Homepage: https://openjdk.java.net/
Description-en: OpenJDK Development Kit (JDK) (headless)
OpenJDK is a development environment for building applications,
applets, and components using the Java programming language.
Description-md5: 494a52f34d707a832270d6d51a78f511