Packages Versioning
All our packages follow the naming conventions described below
bellsoft-java<VNUM>-<VARIANT?>
where
VNUM is a version number most known as a feature version or formerly known as a major version.
VARIANT defines the content of the package. Liberica is distributed in the following variants of packages:
- <no suffix> — a regular package that contains the full Liberica JDK, not including JavaFX.
- full — contains the full Liberica JDK, including JavaFX and a variety of JVMs for platforms that support it.
- lite — includes Liberica JDK with compressed modules and Server VM, without any extra packages.
- runtime — contains Java SE Runtime Environment only.
- runtime-full — contains Java SE Runtime Environment, including JavaFX.
Please note that for Liberica JDK 8 there're no lite packages.
APT Repository (.deb-based Linux distributions)
Add BellSoft official GPG key and setup the repository
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
Liberica JDK repositories contain all Linux architectures supported in the release: amd64, i386, arm64, armhf. If amd64 is not the target architecture, replace it in the command above with the architecture of choice.
Update repositories and install packages:
sudo apt-get update
sudo apt-get install bellsoft-java11
YUM Repository (.rpm-based Linux Distributions)
Set up the repository
echo | sudo tee /etc/yum.repos.d/bellsoft.repo > /dev/null << EOF
[BellSoft]
name=BellSoft Repository
baseurl=https://yum.bell-sw.com
enabled=1
gpgcheck=1
gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft
priority=1
EOF
Liberica JDK repositories contain all Linux architectures supported in the release.
Update repositories and install packages
sudo yum update
sudo yum install bellsoft-java11
YaST/Zypper Repository (SUSE Linux)
Set up the repository
echo | sudo tee /etc/zypp/repos.d/repo-bellsoft.repo > /dev/null << EOF
[BellSoft]
name=BellSoft Repository
baseurl=https://yum.bell-sw.com
enabled=1
gpgcheck=1
gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft
priority=1
EOF
Update repositories and install packages
sudo zypper up
sudo zypper in bellsoft-java11
Alpine Linux Repository
Set up the repository
echo "https://apk.bell-sw.com/main" | sudo tee -a /etc/apk/repositories
sudo wget -P /etc/apk/keys/ https://apk.bell-sw.com/[email protected]
Install packages
sudo apk add bellsoft-java11