How to Install and Uninstall openjdk-21-source Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 27,2024

1. Install "openjdk-21-source" package

This guide let you learn how to install openjdk-21-source on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install openjdk-21-source

2. Uninstall "openjdk-21-source" package

Please follow the instructions below to uninstall openjdk-21-source on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove openjdk-21-source $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-21-source package on Ubuntu 24.04 LTS (Noble Numbat)

Package: openjdk-21-source
Architecture: all
Version: 21.0.2+13-2
Multi-Arch: foreign
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52230
Depends: openjdk-21-jdk (>= 21.0.2+13-2)
Filename: pool/universe/o/openjdk-21/openjdk-21-source_21.0.2+13-2_all.deb
Size: 48806092
MD5sum: 1305fd1479095d781dd3cfead20c0edb
SHA1: 311f7a129ed7c6a1c323378a40edd71e18286c3c
SHA256: ad1d448a7cfdc3fcebcea8d0abb90c03f2673be8af2c2d5386eb1855edee3bbb
SHA512: d9faa5db4b277b89c1b3e6c367a3514ba5f9ab6ab656e0dde14581edb017a2237a1ee55a4c63f59b725e598dbbb25fbdd049b1936fea08638ae9ac9afe9a52ee
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) source files
Description-md5: 5e4d8bbb398daa24b05478a4a3be42bf