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

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=http://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 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=http://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

Manual RPM installation (any .rpm-based Linux Distribitions)

Obtain BellSoft official GPG key and then import it

wget https://download.bell-sw.com/pki/GPG-KEY-bellsoft sudo rpm --import GPG-KEY-bellsoft

Download a package from BellSoft site and install it

sudo rpm --install bellsoft-jdk11.0.3-linux-amd64.rpm