How to Install and Uninstall openjdk-21-jre Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 27,2024
1. Install "openjdk-21-jre" package
Please follow the guidance below to install openjdk-21-jre on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
openjdk-21-jre
Copied
2. Uninstall "openjdk-21-jre" package
Please follow the guidelines below to uninstall openjdk-21-jre on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
openjdk-21-jre
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the openjdk-21-jre package on Ubuntu 20.04 LTS (Focal Fossa)
Package: openjdk-21-jre
Architecture: amd64
Version: 21.0.1+12-2~20.04.1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 711
Provides: java-runtime (= 21), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java18-runtime, java19-runtime, java2-runtime, java20-runtime, java21-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: openjdk-21-jre-headless (= 21.0.1+12-2~20.04.1), libglib2.0-0 (>= 2.24), libgtk2.0-0 | libgtk-3-0, libxrandr2, libxinerama1, libgl1, libharfbuzz0b, libc6 (>= 2.29), libgif7 (>= 5.1), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Recommends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2), fonts-dejavu-extra
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-21/openjdk-21-jre_21.0.1+12-2~20.04.1_amd64.deb
Size: 208280
MD5sum: 101d3a5e7d19a3a33940cc59c9f12dd5
SHA1: 40b0b62f41e91797df43b38ae4bfe0a2f09e671c
SHA256: ca078816b4cec6595e8cf0ef532900e134ea876f07fd60bc47b6c9bb9c90230c
SHA512: 7f39cdde6641da17e50120eaf8b75cdbb1d3f3a6ebea4bbd84056eb047c6b63cc572b6fd117b4f7accb3683615775833062f6cc710691a48c5a66aeab55c1e3d
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT
Description-md5: 13097853553de1ab39cc189225a9cbaa
Architecture: amd64
Version: 21.0.1+12-2~20.04.1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 711
Provides: java-runtime (= 21), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java18-runtime, java19-runtime, java2-runtime, java20-runtime, java21-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: openjdk-21-jre-headless (= 21.0.1+12-2~20.04.1), libglib2.0-0 (>= 2.24), libgtk2.0-0 | libgtk-3-0, libxrandr2, libxinerama1, libgl1, libharfbuzz0b, libc6 (>= 2.29), libgif7 (>= 5.1), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Recommends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2), fonts-dejavu-extra
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-21/openjdk-21-jre_21.0.1+12-2~20.04.1_amd64.deb
Size: 208280
MD5sum: 101d3a5e7d19a3a33940cc59c9f12dd5
SHA1: 40b0b62f41e91797df43b38ae4bfe0a2f09e671c
SHA256: ca078816b4cec6595e8cf0ef532900e134ea876f07fd60bc47b6c9bb9c90230c
SHA512: 7f39cdde6641da17e50120eaf8b75cdbb1d3f3a6ebea4bbd84056eb047c6b63cc572b6fd117b4f7accb3683615775833062f6cc710691a48c5a66aeab55c1e3d
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT
Description-md5: 13097853553de1ab39cc189225a9cbaa