https://pkgs.org/search/?q=openjdk-7%20aarch64
可以直接在arm64 centos:7 docker镜像中直接安装
docker run -it centos:7 /bin/bash
系统版本、架构
[root@8782940e2e86 ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (AltArch)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (AltArch)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7:server"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
安装jdk1.7
yum install java-1.7.0-openjdk-devel
安装日志
[root@8782940e2e86 jdk7-src-ready]# yum install java-1.7.0-openjdk-devel
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile* base: mirror.truenetwork.ru* extras: mirrors.huaweicloud.com* updates: mirrors.huaweicloud.com
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package java-1.7.0-openjdk-devel.aarch64 1:1.7.0.261-2.6.22.2.el7_8 will be installed
--> Processing Dependency: java-1.7.0-openjdk = 1:1.7.0.261-2.6.22.2.el7_8 for package: 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.el7_8.aarch64
--> Running transaction check
---> Package java-1.7.0-openjdk.aarch64 1:1.7.0.261-2.6.22.2.el7_8 will be installed
--> Processing Dependency: java-1.7.0-openjdk-headless = 1:1.7.0.261-2.6.22.2.el7_8 for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64
--> Processing Dependency: libpulse.so.0(PULSE_0)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64
--> Processing Dependency: libpulse.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64
--> Running transaction check
---> Package java-1.7.0-openjdk-headless.aarch64 1:1.7.0.261-2.6.22.2.el7_8 will be installed
--> Processing Dependency: libgconf-2.so.4()(64bit) for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.aarch64
---> Package pulseaudio-libs.aarch64 0:10.0-6.el7_9 will be installed
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0)(64bit) for package: pulseaudio-libs-10.0-6.el7_9.aarch64
--> Processing Dependency: libwrap.so.0()(64bit) for package: pulseaudio-libs-10.0-6.el7_9.aarch64
--> Processing Dependency: libsndfile.so.1()(64bit) for package: pulseaudio-libs-10.0-6.el7_9.aarch64
--> Processing Dependency: libasyncns.so.0()(64bit) for package: pulseaudio-libs-10.0-6.el7_9.aarch64
--> Running transaction check
---> Package GConf2.aarch64 0:3.2.6-8.el7 will be installed
--> Processing Dependency: /usr/bin/killall for package: GConf2-3.2.6-8.el7.aarch64
--> Processing Dependency: libpolkit-gobject-1.so.0()(64bit) for package: GConf2-3.2.6-8.el7.aarch64
---> Package libasyncns.aarch64 0:0.8-7.el7 will be installed
---> Package libsndfile.aarch64 0:1.0.25-12.el7_9.1 will be installed
--> Processing Dependency: libvorbisenc.so.2()(64bit) for package: libsndfile-1.0.25-12.el7_9.1.aarch64
--> Processing Dependency: libvorbis.so.0()(64bit) for package: libsndfile-1.0.25-12.el7_9.1.aarch64
--> Processing Dependency: libogg.so.0()(64bit) for package: libsndfile-1.0.25-12.el7_9.1.aarch64
--> Processing Dependency: libgsm.so.1()(64bit) for package: libsndfile-1.0.25-12.el7_9.1.aarch64
--> Processing Dependency: libFLAC.so.8()(64bit) for package: libsndfile-1.0.25-12.el7_9.1.aarch64
---> Package tcp_wrappers-libs.aarch64 0:7.6-77.el7 will be installed
--> Running transaction check
---> Package flac-libs.aarch64 0:1.3.0-5.el7.centos will be installed
---> Package gsm.aarch64 0:1.0.13-11.el7 will be installed
---> Package libogg.aarch64 2:1.3.0-7.el7 will be installed
---> Package libvorbis.aarch64 1:1.3.3-8.el7.1 will be installed
---> Package polkit.aarch64 0:0.112-26.el7_9.1 will be installed
--> Processing Dependency: polkit-pkla-compat for package: polkit-0.112-26.el7_9.1.aarch64
--> Processing Dependency: libmozjs-17.0.so(mozjs_17.0)(64bit) for package: polkit-0.112-26.el7_9.1.aarch64
--> Processing Dependency: libmozjs-17.0.so()(64bit) for package: polkit-0.112-26.el7_9.1.aarch64
---> Package psmisc.aarch64 0:22.20-17.el7 will be installed
--> Running transaction check
---> Package mozjs17.aarch64 0:17.0.0-20.el7 will be installed
---> Package polkit-pkla-compat.aarch64 0:0.1-4.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved====================================================================================================================================================================================================================Package Arch Version Repository Size
====================================================================================================================================================================================================================
Installing:java-1.7.0-openjdk-devel aarch64 1:1.7.0.261-2.6.22.2.el7_8 base 7.1 M
Installing for dependencies:GConf2 aarch64 3.2.6-8.el7 base 1.0 Mflac-libs aarch64 1.3.0-5.el7.centos base 164 kgsm aarch64 1.0.13-11.el7 base 30 kjava-1.7.0-openjdk aarch64 1:1.7.0.261-2.6.22.2.el7_8 base 247 kjava-1.7.0-openjdk-headless aarch64 1:1.7.0.261-2.6.22.2.el7_8 base 25 Mlibasyncns aarch64 0.8-7.el7 base 25 klibogg aarch64 2:1.3.0-7.el7 base 23 klibsndfile aarch64 1.0.25-12.el7_9.1 updates 140 klibvorbis aarch64 1:1.3.3-8.el7.1 base 195 kmozjs17 aarch64 17.0.0-20.el7 base 968 kpolkit aarch64 0.112-26.el7_9.1 updates 165 kpolkit-pkla-compat aarch64 0.1-4.el7 base 38 kpsmisc aarch64 22.20-17.el7 base 136 kpulseaudio-libs aarch64 10.0-6.el7_9 updates 610 ktcp_wrappers-libs aarch64 7.6-77.el7 base 65 kTransaction Summary
====================================================================================================================================================================================================================
Install 1 Package (+15 Dependent packages)Total download size: 36 M
Installed size: 150 M
Is this ok [y/d/N]: y
Downloading packages:
(1/16): gsm-1.0.13-11.el7.aarch64.rpm | 30 kB 00:00:00
(2/16): flac-libs-1.3.0-5.el7.centos.aarch64.rpm | 164 kB 00:00:00
(3/16): libasyncns-0.8-7.el7.aarch64.rpm | 25 kB 00:00:00
(4/16): libogg-1.3.0-7.el7.aarch64.rpm | 23 kB 00:00:00
(5/16): libsndfile-1.0.25-12.el7_9.1.aarch64.rpm | 140 kB 00:00:01
(6/16): GConf2-3.2.6-8.el7.aarch64.rpm | 1.0 MB 00:00:03
(7/16): libvorbis-1.3.3-8.el7.1.aarch64.rpm | 195 kB 00:00:00
java-1.7.0-openjdk-1.7.0.261-2 FAILED
http://mirror.aktkn.sg/centos-altarch/7.9.2009/os/aarch64/Packages/java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 910 kB/s | 2.8 MB 00:00:37 ETA
Trying other mirror.
(8/16): polkit-0.112-26.el7_9.1.aarch64.rpm | 165 kB 00:00:00
(9/16): polkit-pkla-compat-0.1-4.el7.aarch64.rpm | 38 kB 00:00:00
(10/16): pulseaudio-libs-10.0-6.el7_9.aarch64.rpm | 610 kB 00:00:01
(11/16): mozjs17-17.0.0-20.el7.aarch64.rpm | 968 kB 00:00:02
(12/16): tcp_wrappers-libs-7.6-77.el7.aarch64.rpm | 65 kB 00:00:00
psmisc-22.20-17.el7.aarch64.rp FAILED
http://mirror.surf/centos-altarch/7.9.2009/os/aarch64/Packages/psmisc-22.20-17.el7.aarch64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 1.1 MB/s | 6.5 MB 00:00:26 ETA
Trying other mirror.
(13/16): java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64.rpm | 247 kB 00:00:00
(14/16): psmisc-22.20-17.el7.aarch64.rpm | 136 kB 00:00:00
java-1.7.0-openjdk-devel-1.7.0 FAILED 26% [===================== ] 1.4 MB/s | 9.6 MB 00:00:19 ETA
http://mirror-hk.koddos.net/centos-altarch/7.9.2009/os/aarch64/Packages/java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.el7_8.aarch64.rpm: [Errno 14] HTTP Error 504 - Gateway Timeout] 1.4 MB/s | 9.6 MB 00:00:19 ETA
Trying other mirror.
(15/16): java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.el7_8.aarch64.rpm | 7.1 MB 00:00:07
(16/16): java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.aarch64.rpm | 25 MB 00:00:20
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.8 MB/s | 36 MB 00:00:20
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : 2:libogg-1.3.0-7.el7.aarch64 1/16 Installing : flac-libs-1.3.0-5.el7.centos.aarch64 2/16 Installing : 1:libvorbis-1.3.3-8.el7.1.aarch64 3/16 Installing : libasyncns-0.8-7.el7.aarch64 4/16 Installing : mozjs17-17.0.0-20.el7.aarch64 5/16 Installing : polkit-0.112-26.el7_9.1.aarch64 6/16 Installing : polkit-pkla-compat-0.1-4.el7.aarch64 7/16 Installing : gsm-1.0.13-11.el7.aarch64 8/16 Installing : libsndfile-1.0.25-12.el7_9.1.aarch64 9/16 Installing : tcp_wrappers-libs-7.6-77.el7.aarch64 10/16 Installing : pulseaudio-libs-10.0-6.el7_9.aarch64 11/16 Installing : psmisc-22.20-17.el7.aarch64 12/16 Installing : GConf2-3.2.6-8.el7.aarch64 13/16 Installing : 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.aarch64 14/16 Installing : 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64 15/16 Installing : 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.el7_8.aarch64 16/16 Verifying : psmisc-22.20-17.el7.aarch64 1/16 Verifying : 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.aarch64 2/16 Verifying : 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.el7_8.aarch64 3/16 Verifying : 2:libogg-1.3.0-7.el7.aarch64 4/16 Verifying : pulseaudio-libs-10.0-6.el7_9.aarch64 5/16 Verifying : flac-libs-1.3.0-5.el7.centos.aarch64 6/16 Verifying : GConf2-3.2.6-8.el7.aarch64 7/16 Verifying : tcp_wrappers-libs-7.6-77.el7.aarch64 8/16 Verifying : polkit-pkla-compat-0.1-4.el7.aarch64 9/16 Verifying : 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.el7_8.aarch64 10/16 Verifying : gsm-1.0.13-11.el7.aarch64 11/16 Verifying : mozjs17-17.0.0-20.el7.aarch64 12/16 Verifying : libasyncns-0.8-7.el7.aarch64 13/16 Verifying : libsndfile-1.0.25-12.el7_9.1.aarch64 14/16 Verifying : polkit-0.112-26.el7_9.1.aarch64 15/16 Verifying : 1:libvorbis-1.3.3-8.el7.1.aarch64 16/16 Installed:java-1.7.0-openjdk-devel.aarch64 1:1.7.0.261-2.6.22.2.el7_8 Dependency Installed:GConf2.aarch64 0:3.2.6-8.el7 flac-libs.aarch64 0:1.3.0-5.el7.centos gsm.aarch64 0:1.0.13-11.el7 java-1.7.0-openjdk.aarch64 1:1.7.0.261-2.6.22.2.el7_8 java-1.7.0-openjdk-headless.aarch64 1:1.7.0.261-2.6.22.2.el7_8 libasyncns.aarch64 0:0.8-7.el7 libogg.aarch64 2:1.3.0-7.el7 libsndfile.aarch64 0:1.0.25-12.el7_9.1 libvorbis.aarch64 1:1.3.3-8.el7.1 mozjs17.aarch64 0:17.0.0-20.el7 polkit.aarch64 0:0.112-26.el7_9.1 polkit-pkla-compat.aarch64 0:0.1-4.el7 psmisc.aarch64 0:22.20-17.el7 pulseaudio-libs.aarch64 0:10.0-6.el7_9 tcp_wrappers-libs.aarch64 0:7.6-77.el7 Complete!