How to Install and Uninstall default-jdk-headless Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "default-jdk-headless" package

Please follow the guidance below to install default-jdk-headless on Debian 11 (Bullseye)

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

2. Uninstall "default-jdk-headless" package

Please follow the instructions below to uninstall default-jdk-headless on Debian 11 (Bullseye):

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

3. Information about the default-jdk-headless package on Debian 11 (Bullseye)

Package: default-jdk-headless
Source: java-common (0.72)
Version: 2:1.11-72
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
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
Description: Standard Java or Java compatible Development Kit (headless)
Description-md5: 17d93291d83f9a10d7cefbfe85eb18a3
Homepage: https://wiki.debian.org/Java/
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jdk-headless_1.11-72_amd64.deb
Size: 1100
MD5sum: 44698eaee63f37cdc3484d8a4c1551c1
SHA256: 288c64495b96bd732bda6b575250b7e57703e7d56a1a9a0550920f82a9cab730