How to Install and Uninstall default-jdk Package on Debian 10 (Buster)

Last updated: November 05,2024

1. Install "default-jdk" package

This is a short guide on how to install default-jdk on Debian 10 (Buster)

$ sudo apt update $ sudo apt install default-jdk

2. Uninstall "default-jdk" package

Please follow the steps below to uninstall default-jdk on Debian 10 (Buster):

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

3. Information about the default-jdk package on Debian 10 (Buster)

Package: default-jdk
Source: java-common (0.71)
Version: 2:1.11-71
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
Provides: java-sdk, java10-sdk, java11-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: default-jre (= 2:1.11-71), default-jdk-headless (= 2:1.11-71), openjdk-11-jdk
Description: Standard Java or Java compatible Development Kit
Description-md5: c597cf36981d7716553d93e4f6672569
Homepage: https://wiki.debian.org/Java/
Cnf-Extra-Commands: javac,javadoc,jar
Tag: devel::buildtools, devel::compiler, devel::lang:java, devel::library,
devel::runtime, implemented-in::TODO, implemented-in::java,
role::devel-lib, role::metapackage, role::program
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jdk_1.11-71_amd64.deb
Size: 1056
MD5sum: 05f268944e3885736396d701a7380e26
SHA256: 07108b73da206d8edc9f7be588120366b67bf7d51c0b809cda75b5a5daf7e33f