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

Last updated: November 23,2024

1. Install "openjdk-21-demo" package

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

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

2. Uninstall "openjdk-21-demo" package

Please follow the guidance below to uninstall openjdk-21-demo on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: openjdk-21-demo
Architecture: amd64
Version: 21.0.1+12-2~20.04.1
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5720
Depends: openjdk-21-jre (= 21.0.1+12-2~20.04.1)
Filename: pool/universe/o/openjdk-21/openjdk-21-demo_21.0.1+12-2~20.04.1_amd64.deb
Size: 3207704
MD5sum: 59702b4559e5fa5ca3b6fb3072300a7d
SHA1: 1df9b3f8e5f365a2c098048fd4409e5429d11489
SHA256: 8d64d8159e2cf13fabc87246365e8ed397a416c371699977ec90207320860a6e
SHA512: 511f98c25b2d048b014ceff1290098bdaa3fd57b59f34f7e31b48ad8235f812f3d68e1b6e8bc43ddb29e01bbd20149a1f1b7def8f247416b50c7ed8e5596f858
Homepage: https://openjdk.java.net/
Description: Java runtime based on OpenJDK (demos and examples)
Description-md5: 8c587e17f25fb354ef51e27e56507756