How to Install and Uninstall openjdk-21-source Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "openjdk-21-source" package

This guide let you learn how to install openjdk-21-source on Ubuntu 20.04 LTS (Focal Fossa)

$ 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 20.04 LTS (Focal Fossa):

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

3. Information about the openjdk-21-source package on Ubuntu 20.04 LTS (Focal Fossa)

Package: openjdk-21-source
Architecture: all
Version: 21.0.1+12-2~20.04.1
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: 52223
Depends: openjdk-21-jdk (>= 21.0.1+12-2~20.04.1)
Filename: pool/universe/o/openjdk-21/openjdk-21-source_21.0.1+12-2~20.04.1_all.deb
Size: 48991092
MD5sum: ac3b7b2ede26c20d957557a771414600
SHA1: e1dbb5e14a8d1e3ea062e5b51d5f4f899e96789a
SHA256: 02b70ff51777f474b1dda88a6b94e410d9b19191a0d3fdd8d608032693449c67
SHA512: 894f6edfda817d4fd0e803c63d7e93e7f2eae340e95e2da1777125f2db605758444c29f63fb34b44fcc756e38d079d2c9d5ec3e251c4db9569234c1a7d0452f3
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) source files
Description-md5: 5e4d8bbb398daa24b05478a4a3be42bf