How to Install and Uninstall openjdk-8-jdk Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "openjdk-8-jdk" package

In this section, we are going to explain the necessary steps to install openjdk-8-jdk on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install openjdk-8-jdk

2. Uninstall "openjdk-8-jdk" package

Here is a brief guide to show you how to uninstall openjdk-8-jdk on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove openjdk-8-jdk $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-8-jdk package on Ubuntu 21.10 (Impish Indri)

Package: openjdk-8-jdk
Architecture: amd64
Version: 8u302-b08-0ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4237
Provides: java-compiler, java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk
Depends: openjdk-8-jre (= 8u302-b08-0ubuntu2), openjdk-8-jdk-headless (= 8u302-b08-0ubuntu2), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-8-demo, openjdk-8-source, visualvm
Filename: pool/universe/o/openjdk-8/openjdk-8-jdk_8u302-b08-0ubuntu2_amd64.deb
Size: 4031324
MD5sum: 99137839f058947cdd1288c9f26fa0d2
SHA1: 026d71f6e43fb6c2fd71af11f258acdfda0a46a9
SHA256: e0c7e75620fd5816eeab513d28d537ade360422474f6ec879e9c7dc6208293fb
SHA512: bcbc4ceca14aeac8822828d01b4f6b1a64a3d92e2ab46625e91503ac60939622287d98bede527ae19c9456d04465d50b17137f83086ac2bad77cb3dd3aef5745
Homepage: http://openjdk.java.net/
Description-en: OpenJDK Development Kit (JDK)
OpenJDK is a development environment for building applications,
applets, and components using the Java programming language.
.
The packages are built using the IcedTea build support and patches
from the IcedTea project.
Description-md5: eaff50443f15582a8beb0901034b62cf