How to Install and Uninstall openjdk-11-demo Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "openjdk-11-demo" package

This is a short guide on how to install openjdk-11-demo on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "openjdk-11-demo" package

Please follow the guidelines below to uninstall openjdk-11-demo on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the openjdk-11-demo package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: openjdk-11-demo
Architecture: amd64
Version: 11.0.16+8-0ubuntu1~18.04
Priority: optional
Section: universe/java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5838
Depends: openjdk-11-jre (= 11.0.16+8-0ubuntu1~18.04)
Filename: pool/universe/o/openjdk-lts/openjdk-11-demo_11.0.16+8-0ubuntu1~18.04_amd64.deb
Size: 4108420
MD5sum: 8d66f43687a4bee92d8eca28ecdadc68
SHA1: da7b7d0f15ba39e6b0f3f8d82742aae6e40ec58f
SHA256: 141f235f9cf75b21d8b0c658efd7f9c70dc32215fb2126d680c5035b31691535
SHA512: 3310102eedc66a54d96886adbccf03cd5d6202a13b9c91d0a1366d4422a899a072d7fd533db7348053d5f2ada0b7b6f78255fe02fe0e21d16803121b3e5c2d32
Homepage: https://openjdk.java.net/
Description: Java runtime based on OpenJDK (demos and examples)
Description-md5: 8c587e17f25fb354ef51e27e56507756

Package: openjdk-11-demo
Architecture: amd64
Version: 10.0.1+10-3ubuntu1
Priority: optional
Section: universe/java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1334
Depends: openjdk-11-jre (= 10.0.1+10-3ubuntu1)
Filename: pool/universe/o/openjdk-lts/openjdk-11-demo_10.0.1+10-3ubuntu1_amd64.deb
Size: 515224
MD5sum: 5dc2bf6a5baea28835592b4e0291cfef
SHA1: 1d8fd3074675b09d09f1cb6fa2b35eec0100bcf8
SHA256: 47cca258ce427fb23512a1385b81903841dd8d4ec2fbea3f07e55c26da65b535
Homepage: http://openjdk.java.net/
Description: Java runtime based on OpenJDK (demos and examples)
Description-md5: 8c587e17f25fb354ef51e27e56507756