How to Install and Uninstall openjdk-21-source Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 14,2024
Notice
You can also install and uninstall the openjdk-21-source on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "openjdk-21-source" package
Please follow the guidelines below to install openjdk-21-source on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
openjdk-21-source
Copied
2. Uninstall "openjdk-21-source" package
This guide let you learn how to uninstall openjdk-21-source on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
openjdk-21-source
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the openjdk-21-source package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: openjdk-21-source
Architecture: all
Version: 21.0.2+13-1~22.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: 52230
Depends: openjdk-21-jdk (>= 21.0.2+13-1~22.04.1)
Filename: pool/universe/o/openjdk-21/openjdk-21-source_21.0.2+13-1~22.04.1_all.deb
Size: 48801474
MD5sum: 505215e43303609e43913db49ef0cb05
SHA1: 3d3904992610811cef23dd393066d34ca1f615fa
SHA256: a33c32eb71f8d28d5554e5731101aa41a5523798bd6f58951530e67f492878da
SHA512: e8e3669eef1aa5eac20938f47e930e297a69d1db89aabbfc903573d43379dc6369d3d578d88395577ea995dcbeed883f931870839fc4e004f934f9c4ed700c95
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) source files
Description-md5: 5e4d8bbb398daa24b05478a4a3be42bf
Architecture: all
Version: 21.0.2+13-1~22.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: 52230
Depends: openjdk-21-jdk (>= 21.0.2+13-1~22.04.1)
Filename: pool/universe/o/openjdk-21/openjdk-21-source_21.0.2+13-1~22.04.1_all.deb
Size: 48801474
MD5sum: 505215e43303609e43913db49ef0cb05
SHA1: 3d3904992610811cef23dd393066d34ca1f615fa
SHA256: a33c32eb71f8d28d5554e5731101aa41a5523798bd6f58951530e67f492878da
SHA512: e8e3669eef1aa5eac20938f47e930e297a69d1db89aabbfc903573d43379dc6369d3d578d88395577ea995dcbeed883f931870839fc4e004f934f9c4ed700c95
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) source files
Description-md5: 5e4d8bbb398daa24b05478a4a3be42bf