Back to TILs

Java 12 no Debian Buster

Date: 2019-07-23T11:33:38-03:00Last modified: 2023-02-17
Photo by Derek Oyen on Unsplash

Adicionar repositório.

cat <<EOF > /etc/apt/sources.list.d/java-12-debian.list
deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main
deb-src http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main
EOF
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EA8CACC073C3DB2A
apt-get update
apt-get install oracle-java12-installer

Referências