How to Install and Uninstall jdk-openjdk Package on Arch Linux

Last updated: November 26,2024

1. Install "jdk-openjdk" package

Learn how to install jdk-openjdk on Arch Linux

$ sudo pacman -Sy $ sudo pacman -S jdk-openjdk

2. Uninstall "jdk-openjdk" package

This tutorial shows how to uninstall jdk-openjdk on Arch Linux:

$ sudo pacman -Rcns jdk-openjdk

3. Information about the jdk-openjdk package on Arch Linux

Repository : extra
Name : jdk-openjdk
Version : 21.0.2.u13-3
Description : OpenJDK Java 21 development kit
Architecture : x86_64
URL : https://openjdk.java.net/
Licenses : custom
Groups : None
Provides : java-environment=21 java-environment-openjdk=21
jdk21-openjdk=21.0.2.u13-3 java-runtime=21
java-runtime-openjdk=21 jre21-openjdk=21.0.2.u13-3
java-runtime-headless=21 java-runtime-headless-openjdk=21
jre21-openjdk-headless=21.0.2.u13-3
Depends On : java-runtime-common>=3 ca-certificates-utils nss
libjpeg-turbo libjpeg.so=8-64 lcms2 liblcms2.so=2-64
libnet freetype2 libfreetype.so=6-64 harfbuzz
libharfbuzz.so=0-64 glibc gcc-libs
java-environment-common=3 hicolor-icon-theme libelf
libgif.so=7-64 libpng ca-certificates-utils nss
libjpeg-turbo libjpeg.so=8-64 lcms2 liblcms2.so=2-64
libnet freetype2 libfreetype.so=6-64 harfbuzz
libharfbuzz.so=0-64
Optional Deps : java-rhino: for some JavaScript support
alsa-lib: for basic sound support
gtk2: for the Gtk+ 2 look and feel - desktop usage
gtk3: for the Gtk+ 3 look and feel - desktop usage
Conflicts With : jre-openjdk jre-openjdk-headless
Replaces : None
Download Size : 406.84 MiB
Installed Size : 878.71 MiB
Packager : Frederik Schwan
Build Date : Wed Jan 31 10:43:53 2024
Validated By : MD5 Sum SHA-256 Sum Signature

5. The same packages on other Linux Distributions