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

Last updated: November 22,2024

1. Install "default-jre-headless" package

This is a short guide on how to install default-jre-headless on Debian 11 (Bullseye)

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

2. Uninstall "default-jre-headless" package

This is a short guide on how to uninstall default-jre-headless on Debian 11 (Bullseye):

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

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

Package: default-jre-headless
Source: java-common (0.72)
Version: 2:1.11-72
Installed-Size: 20
Maintainer: Debian Java Maintainers
Architecture: amd64
Replaces: openjdk-6-jre-headless (<< 6b23~pre8-2~)
Provides: java-runtime-headless, java10-runtime-headless, java11-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless, java9-runtime-headless
Depends: openjdk-11-jre-headless, java-common
Suggests: default-jre
Description: Standard Java or Java compatible Runtime (headless)
Description-md5: 6a80f216cbac62099ce78c02764c55d1
Homepage: https://wiki.debian.org/Java/
Tag: devel::lang:java, devel::runtime, role::metapackage
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jre-headless_1.11-72_amd64.deb
Size: 10900
MD5sum: f456d51a88366efa513406267bd0a89a
SHA256: 5b2688719dba1733255413f696fbd05d3905ca3fc8cf5a78856df98fe34af361