Installing java-11-openjdk1 Manually
Three packages are required for installing java-11-openjdk. You can go to https://centos.pkgs.org and search for java-11-openjdk in the upper-right corner to obtain URLs of the software packages with the .rpm extension. Figure 1 is an example of the search result. Download the corresponding software based on the system version, and then run the rpm command to install the software.
Example
The following uses CentOS 8.3 aarch64 as an example to describe how to install java-11-openjdk software packages.
Software Package |
Package Download Path |
|---|---|
java-11-openjdk-headless |
|
java-11-openjdk |
|
java-11-openjdk-devel |
- Download the .rmp package by referring to Table 1 and upload the software package to any directory on the server.
- Go to the directory where the software package is stored and install the .rmp package.
rpm -ivh java-11-openjdk-headless-11.0.13.0.8-4.el8_5.aarch64.rpm rpm -ivh java-11-openjdk-11.0.13.0.8-4.el8_5.aarch64.rpm rpm -ivh java-11-openjdk-devel-11.0.13.0.8-4.el8_5.aarch64.rpm
Parent topic: Sample Reference
