https://adoptopenjdk.net/installation.html#linux-pkg
ctrl + f => Linux RPM and DEB installer packages
ctrl + f => Linux RPM and DEB installer packages
UBUNTU_CODENAME=focal
bboy@bboy-LE7450:~$ sudo apt-get install wget apt-transport-https gnupg
[sudo] password for bboy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version (1.20.3-1ubuntu1).
wget set to manually installed.
gnupg is already the newest version (2.2.19-3ubuntu2.1).
gnupg set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-5.8.0-45-generic linux-hwe-5.8-headers-5.8.0-45
linux-image-5.8.0-45-generic linux-modules-5.8.0-45-generic
linux-modules-extra-5.8.0-45-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 1,704 B of archives.
After this operation, 161 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.5 [1,704 B]
Fetched 1,704 B in 11s (150 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 239312 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.0.5_all.deb ...
Unpacking apt-transport-https (2.0.5) ...
Setting up apt-transport-https (2.0.5) ...
bboy@bboy-LE7450:~$ wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
OK
bboy@bboy-LE7450:~$ echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list
deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal main
bboy@bboy-LE7450:~$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58.2 kB]
Hit:5 http://ph.archive.ubuntu.com/ubuntu focal InRelease
Get:6 http://ph.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:7 http://ppa.launchpad.net/ubuntuhandbook1/gimp/ubuntu focal InRelease
Get:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease [15.4 kB]
Err:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3BDAAC08614C4B38
Get:9 http://ph.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:10 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [921 kB]
Get:11 http://ph.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [455 kB]
Get:12 http://ph.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [213 kB]
Get:13 http://ph.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [265 kB]
Get:14 http://ph.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [759 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [562 kB]
Get:16 http://ph.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [162 kB]
Get:17 http://ph.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Get:18 http://ph.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:19 http://ph.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
Get:20 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
Get:21 http://packages.microsoft.com/repos/code stable/main arm64 Packages [23.3 kB]
Get:22 http://packages.microsoft.com/repos/code stable/main armhf Packages [23.3 kB]
Get:23 http://packages.microsoft.com/repos/code stable/main amd64 Packages [22.7 kB]
Get:24 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal InRelease [6,153 B]
Get:25 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal/main amd64 Packages [10.8 kB]
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en_PH) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: GPG error: http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3BDAAC08614C4B38
E: The repository 'http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en_PH) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
bboy@bboy-LE7450:~$ sudo apt-cache search adoptopenjdk
adoptopenjdk-11-hotspot - OpenJDK Development Kit 11 (JDK) with Hotspot by AdoptOpenJDK
adoptopenjdk-11-hotspot-jre - OpenJDK Runtime Environment 11 (JRE) with Hotspot by AdoptOpenJDK
adoptopenjdk-11-openj9 - OpenJDK Development Kit 11 (JDK) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-11-openj9-jre - OpenJDK Runtime Environment 11 (JRE) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-11-openj9xl - OpenJDK Development Kit 11 (JDK) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-11-openj9xl-jre - OpenJDK Runtime Environment 11 (JRE) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-14-hotspot - OpenJDK Development Kit 14 (JDK) with Hotspot by AdoptOpenJDK
adoptopenjdk-14-hotspot-jre - OpenJDK Runtime Environment 14 (JRE) with Hotspot by AdoptOpenJDK
adoptopenjdk-14-openj9 - OpenJDK Development Kit 14 (JDK) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-14-openj9-jre - OpenJDK Runtime Environment 14 (JRE) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-14-openj9xl - OpenJDK Development Kit 14 (JDK) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-14-openj9xl-jre - OpenJDK Runtime Environment 14 (JRE) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-15-hotspot - OpenJDK Development Kit 15 (JDK) with Hotspot by AdoptOpenJDK
adoptopenjdk-15-hotspot-jre - OpenJDK Runtime Environment 15 (JRE) with Hotspot by AdoptOpenJDK
adoptopenjdk-15-openj9 - OpenJDK Development Kit 15 (JDK) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-15-openj9-jre - OpenJDK Runtime Environment 15 (JRE) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-15-openj9xl - OpenJDK Development Kit 15 (JDK) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-15-openj9xl-jre - OpenJDK Runtime Environment 15 (JRE) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-16-hotspot - OpenJDK Development Kit 16 (JDK) with Hotspot by AdoptOpenJDK
adoptopenjdk-16-hotspot-jre - OpenJDK Runtime Environment 16 (JRE) with Hotspot by AdoptOpenJDK
adoptopenjdk-16-openj9 - OpenJDK Development Kit 16 (JDK) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-16-openj9-jre - OpenJDK Runtime Environment 16 (JRE) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-8-hotspot - OpenJDK Development Kit 8 (JDK) with Hotspot by AdoptOpenJDK
adoptopenjdk-8-hotspot-jre - OpenJDK Runtime Environment 8 (JRE) with Hotspot by AdoptOpenJDK
adoptopenjdk-8-openj9 - OpenJDK Development Kit 8 (JDK) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-8-openj9-jre - OpenJDK Runtime Environment 8 (JRE) with Eclipse OpenJ9 by AdoptOpenJDK
adoptopenjdk-8-openj9xl - OpenJDK Development Kit 8 (JDK) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
adoptopenjdk-8-openj9xl-jre - OpenJDK Runtime Environment 8 (JRE) with Eclipse OpenJ9 (Extra Large Heap) by AdoptOpenJDK
bboy@bboy-LE7450:~$ sudo apt-get install adoptopenjdk-11-hotspot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.8.0-45-generic linux-hwe-5.8-headers-5.8.0-45
linux-image-5.8.0-45-generic linux-modules-5.8.0-45-generic
linux-modules-extra-5.8.0-45-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
fonts-dejavu fonts-dejavu-extra java-common
Suggested packages:
default-jre
The following NEW packages will be installed:
adoptopenjdk-11-hotspot fonts-dejavu fonts-dejavu-extra java-common
0 upgraded, 4 newly installed, 0 to remove and 54 not upgraded.
Need to get 196 MB of archives.
After this operation, 331 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ph.archive.ubuntu.com/ubuntu focal/main amd64 fonts-dejavu-extra all 2.37-1 [1,953 kB]
Get:2 http://ph.archive.ubuntu.com/ubuntu focal/universe amd64 fonts-dejavu all 2.37-1 [3,130 B]
Get:3 http://ph.archive.ubuntu.com/ubuntu focal/main amd64 java-common all 0.72 [6,816 B]
Get:4 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal/main amd64 adoptopenjdk-11-hotspot amd64 11.0.10+9-3 [194 MB]
Fetched 196 MB in 1h 22min 26s (39.7 kB/s)
Selecting previously unselected package fonts-dejavu-extra.
(Reading database ... 239316 files and directories currently installed.)
Preparing to unpack .../fonts-dejavu-extra_2.37-1_all.deb ...
Unpacking fonts-dejavu-extra (2.37-1) ...
Selecting previously unselected package fonts-dejavu.
Preparing to unpack .../fonts-dejavu_2.37-1_all.deb ...
Unpacking fonts-dejavu (2.37-1) ...
Selecting previously unselected package java-common.
Preparing to unpack .../java-common_0.72_all.deb ...
Unpacking java-common (0.72) ...
Selecting previously unselected package adoptopenjdk-11-hotspot.
Preparing to unpack .../adoptopenjdk-11-hotspot_11.0.10+9-3_amd64.deb ...
Unpacking adoptopenjdk-11-hotspot (11.0.10+9-3) ...
Setting up java-common (0.72) ...
Setting up fonts-dejavu-extra (2.37-1) ...
Setting up fonts-dejavu (2.37-1) ...
Setting up adoptopenjdk-11-hotspot (11.0.10+9-3) ...
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jfr to provide /usr/bin/jfr (jfr) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
update-alternatives: using /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/jspawnhelper to provide /usr/bin/jspawnhelper (jspawnhelper) in auto mode
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
bboy@bboy-LE7450:~$ sudo apt-get install adoptopenjdk-11-hotspot
[sudo] password for bboy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
adoptopenjdk-11-hotspot is already the newest version (11.0.10+9-3).
The following packages were automatically installed and are no longer required:
linux-headers-5.8.0-45-generic linux-hwe-5.8-headers-5.8.0-45
linux-image-5.8.0-45-generic linux-modules-5.8.0-45-generic
linux-modules-extra-5.8.0-45-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
bboy@bboy-LE7450:~$ java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
bboy@bboy-LE7450:~$
Comments
Post a Comment