jdk-adoptopenjdk on AUR (Arch User Repository)

Last updated: December 24,2024

1. Install "jdk-adoptopenjdk" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install jdk-adoptopenjdk on Arch using YAY

$ yay -S jdk-adoptopenjdk

* (Optional) Uninstall jdk-adoptopenjdk on Arch using YAY

$ yay -Rns jdk-adoptopenjdk

2. Manually Install "jdk-adoptopenjdk" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone jdk-adoptopenjdk's git locally

$ git clone https://aur.archlinux.org/jdk-adoptopenjdk.git ~/jdk-adoptopenjdk

c. Go to ~/jdk-adoptopenjdk folder and install it

$ cd ~/jdk-adoptopenjdk $ makepkg -si

3. Information about the jdk-adoptopenjdk package on Arch User Repository (AUR)