How to Install and Uninstall default-jdk-headless Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 29,2024

1. Install "default-jdk-headless" package

Please follow the steps below to install default-jdk-headless on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install default-jdk-headless

2. Uninstall "default-jdk-headless" package

Please follow the steps below to uninstall default-jdk-headless on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove default-jdk-headless $ sudo apt autoclean && sudo apt autoremove

3. Information about the default-jdk-headless package on Ubuntu 20.10 (Groovy Gorilla)

Package: default-jdk-headless
Architecture: amd64
Version: 2:1.11-72
Priority: optional
Section: java
Source: java-common (0.72)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Provides: 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: default-jre-headless (= 2:1.11-72), openjdk-11-jdk-headless
Filename: pool/main/j/java-common/default-jdk-headless_1.11-72_amd64.deb
Size: 1140
MD5sum: 4cfb2882dbe78f29aebd23492c301e4a
SHA1: fd06bfb52baa2367f2ebd265c881644289160776
SHA256: fd6d4db4da79ea505fb89bc3725abe141580ef87cd6c9ae83d2f0d16974b201a
SHA512: 26908260775324fbb98cee1d5c48b756ea47107c2fdb0f9844ea555a1a62f471ce67749daab6e6f3fdcd32b0030189c4c46d4aa14af8f657d1250f95a32529c4
Homepage: https://wiki.debian.org/Java/
Description-en: Standard Java or Java compatible Development Kit (headless)
This dependency package points to the Java runtime, or Java compatible
development kit recommended for this architecture, which is
openjdk-11-jdk-headless for amd64.
.
The package is used as dependency for packages not needing a
graphical display during runtime.
Description-md5: 17d93291d83f9a10d7cefbfe85eb18a3