Created
November 15, 2025 15:47
-
-
Save phoenixthrush/52eb969bebe7e1228db29841126d5f20 to your computer and use it in GitHub Desktop.
BellSoft Java 21 Repo #BellSoft #Java #Minecraft #Apt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create keyring directory if it doesn't exist | |
| sudo mkdir -p /etc/apt/keyrings | |
| # Download and store BellSoft GPG key | |
| wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo gpg --dearmor -o /etc/apt/keyrings/bellsoft-archive-keyring.gpg | |
| # Add BellSoft APT repository | |
| echo "deb [signed-by=/etc/apt/keyrings/bellsoft-archive-keyring.gpg] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list | |
| sudo apt update | |
| sudo apt install bellsoft-java21-full | |
| java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment