先用rpm看下是否之前安装过,或者有安装残留,有则卸之,没有就直接安装:
[root@centos ~]# rpm -qa | grep java
[root@centos ~]# rpm -qa | grep jdk
[root@centos ~]# rpm -qa | grep gcj
[root@centos ~]# yum install java-1.8.0-openjdk*
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package java-1.8.0-openjdk.i686 1:1.8.0.232.b09-1.el6_10 will be installed
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libpng12.so.0(PNG12_0) for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libpng12.so.0 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libjpeg.so.62 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libgif.so.4 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libXtst.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libXrender.so.1 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libXi.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libXext.so.6 for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: gtk2(x86-32) for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: fontconfig for package: 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686
---> Package java-1.8.0-openjdk-debug.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-demo.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-demo-debug.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-devel.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-devel-debug.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-headless.i686 1:1.8.0.232.b09-1.el6_10 will be installed
--> Processing Dependency: tzdata-java >= 2014f-1 for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: nss >= 3.36.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: pcsc-lite-libs(x86-32) for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: lksctp-tools(x86-32) for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: libfreetype.so.6 for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
--> Processing Dependency: cups-libs(x86-32) for package: 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686
---> Package java-1.8.0-openjdk-headless-debug.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-javadoc.noarch 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-javadoc-debug.noarch 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-src.i686 1:1.8.0.232.b09-1.el6_10 will be installed
---> Package java-1.8.0-openjdk-src-debug.i686 1:1.8.0.232.b09-1.el6_10 will be installed
--> Running transaction check
---> Package cups-libs.i686 1:1.4.2-81.el6_10 will be installed
--> Processing Dependency: libtiff.so.3 for package: 1:cups-libs-1.4.2-81.el6_10.i686
--> Processing Dependency: libgnutls.so.26(GNUTLS_1_4) for package: 1:cups-libs-1.4.2-81.el6_10.i686
--> Processing Dependency: libgnutls.so.26 for package: 1:cups-libs-1.4.2-81.el6_10.i686
--> Processing Dependency: libavahi-common.so.3 for package: 1:cups-libs-1.4.2-81.el6_10.i686
--> Processing Dependency: libavahi-client.so.3 for package: 1:cups-libs-1.4.2-81.el6_10.i686
---> Package fontconfig.i686 0:2.8.0-5.el6 will be installed
---> Package freetype.i686 0:2.3.11-17.el6 will be installed
---> Package giflib.i686 0:4.1.6-3.1.el6 will be installed
--> Processing Dependency: libSM.so.6 for package: giflib-4.1.6-3.1.el6.i686
--> Processing Dependency: libICE.so.6 for package: giflib-4.1.6-3.1.el6.i686
---> Package gtk2.i686 0:2.24.23-9.el6 will be installed
--> Processing Dependency: pango >= 1.20.0-1 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXrandr >= 1.2.99.4-2 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: atk >= 1.29.4-2 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libpangoft2-1.0.so.0 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libpangocairo-1.0.so.0 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libpango-1.0.so.0 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libgdk_pixbuf-2.0.so.0 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libcairo.so.2 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libatk-1.0.so.0 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXrandr.so.2 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXinerama.so.1 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXfixes.so.3 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXdamage.so.1 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXcursor.so.1 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: libXcomposite.so.1 for package: gtk2-2.24.23-9.el6.i686
--> Processing Dependency: hicolor-icon-theme for package: gtk2-2.24.23-9.el6.i686
---> Package jpackage-utils.noarch 0:1.7.5-3.16.el6 will be installed
---> Package libXext.i686 0:1.3.3-1.el6 will be installed
---> Package libXi.i686 0:1.7.8-1.el6 will be installed
---> Package libXrender.i686 0:0.9.10-1.el6 will be installed
---> Package libXtst.i686 0:1.2.3-1.el6 will be installed
---> Package libjpeg-turbo.i686 0:1.2.1-3.el6_5 will be installed
---> Package libpng.i686 2:1.2.49-2.el6_7 will be installed
---> Package lksctp-tools.i686 0:1.0.10-7.el6 will be installed
---> Package nss.i686 0:3.27.1-13.el6 will be updated
--> Processing Dependency: nss = 3.27.1-13.el6 for package: nss-sysinit-3.27.1-13.el6.i686
--> Processing Dependency: nss(x86-32) = 3.27.1-13.el6 for package: nss-tools-3.27.1-13.el6.i686
---> Package nss.i686 0:3.44.0-7.el6_10 will be an update
--> Processing Dependency: nss-util >= 3.44.0 for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: nss-softokn(x86-32) >= 3.44.0-1 for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: nspr >= 4.21.0 for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.39) for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.38) for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.33) for package: nss-3.44.0-7.el6_10.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.31) for package: nss-3.44.0-7.el6_10.i686
---> Package pcsc-lite-libs.i686 0:1.5.2-16.el6 will be installed
---> Package tzdata-java.noarch 0:2019c-1.el6 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.2-11.el6 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.2-11.el6.noarch
--> Running transaction check
---> Package atk.i686 0:1.30.0-1.el6 will be installed
---> Package avahi-libs.i686 0:0.6.25-17.el6 will be installed
---> Package cairo.i686 0:1.8.8-6.el6_6 will be installed
--> Processing Dependency: libpixman-1.so.0 for package: cairo-1.8.8-6.el6_6.i686
---> Package gdk-pixbuf2.i686 0:2.24.1-6.el6_7 will be installed
--> Processing Dependency: libjasper.so.1 for package: gdk-pixbuf2-2.24.1-6.el6_7.i686
---> Package gnutls.i686 0:2.12.23-22.el6 will be installed
---> Package hicolor-icon-theme.noarch 0:0.11-1.1.el6 will be installed
---> Package libICE.i686 0:1.0.6-1.el6 will be installed
---> Package libSM.i686 0:1.2.1-2.el6 will be installed
---> Package libXcomposite.i686 0:0.4.3-4.el6 will be installed
---> Package libXcursor.i686 0:1.1.14-2.1.el6 will be installed
---> Package libXdamage.i686 0:1.1.3-4.el6 will be installed
---> Package libXfixes.i686 0:5.0.3-1.el6 will be installed
---> Package libXinerama.i686 0:1.1.3-2.1.el6 will be installed
---> Package libXrandr.i686 0:1.5.1-1.el6 will be installed
---> Package libtiff.i686 0:3.9.4-21.el6_8 will be installed
---> Package nspr.i686 0:4.13.1-1.el6 will be updated
---> Package nspr.i686 0:4.21.0-1.el6_10 will be an update
---> Package nss-softokn.i686 0:3.14.3-23.3.el6_8 will be updated
---> Package nss-softokn.i686 0:3.44.0-6.el6_10 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-32) >= 3.44.0-6.el6_10 for package: nss-softokn-3.44.0-6.el6_10.i686
---> Package nss-sysinit.i686 0:3.27.1-13.el6 will be updated
---> Package nss-sysinit.i686 0:3.44.0-7.el6_10 will be an update
---> Package nss-tools.i686 0:3.27.1-13.el6 will be updated
---> Package nss-tools.i686 0:3.44.0-7.el6_10 will be an update
---> Package nss-util.i686 0:3.27.1-3.el6 will be updated
---> Package nss-util.i686 0:3.44.0-1.el6_10 will be an update
---> Package pango.i686 0:1.28.1-11.el6 will be installed
--> Processing Dependency: libthai >= 0.1.9 for package: pango-1.28.1-11.el6.i686
--> Processing Dependency: libthai.so.0(LIBTHAI_0.1) for package: pango-1.28.1-11.el6.i686
--> Processing Dependency: libthai.so.0 for package: pango-1.28.1-11.el6.i686
--> Processing Dependency: libXft.so.2 for package: pango-1.28.1-11.el6.i686
---> Package ttmkfdir.i686 0:3.0.9-32.1.el6 will be installed
---> Package xorg-x11-font-utils.i686 1:7.2-11.el6 will be installed
--> Processing Dependency: libfontenc.so.1 for package: 1:xorg-x11-font-utils-7.2-11.el6.i686
--> Processing Dependency: libXfont.so.1 for package: 1:xorg-x11-font-utils-7.2-11.el6.i686
--> Running transaction check
---> Package jasper-libs.i686 0:1.900.1-22.el6 will be installed
---> Package libXfont.i686 0:1.5.1-2.el6 will be installed
---> Package libXft.i686 0:2.3.2-1.el6 will be installed
---> Package libfontenc.i686 0:1.1.2-3.el6 will be installed
---> Package libthai.i686 0:0.1.12-3.el6 will be installed
---> Package nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 will be updated
---> Package nss-softokn-freebl.i686 0:3.44.0-6.el6_10 will be an update
---> Package pixman.i686 0:0.32.8-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================
Installing:
java-1.8.0-openjdk i686 1:1.8.0.232.b09-1.el6_10 updates 219 k
java-1.8.0-openjdk-debug i686 1:1.8.0.232.b09-1.el6_10 updates 213 k
java-1.8.0-openjdk-demo i686 1:1.8.0.232.b09-1.el6_10 updates 1.9 M
java-1.8.0-openjdk-demo-debug i686 1:1.8.0.232.b09-1.el6_10 updates 1.9 M
java-1.8.0-openjdk-devel i686 1:1.8.0.232.b09-1.el6_10 updates 10 M
java-1.8.0-openjdk-devel-debug i686 1:1.8.0.232.b09-1.el6_10 updates 10 M
java-1.8.0-openjdk-headless i686 1:1.8.0.232.b09-1.el6_10 updates 32 M
java-1.8.0-openjdk-headless-debug i686 1:1.8.0.232.b09-1.el6_10 updates 32 M
java-1.8.0-openjdk-javadoc noarch 1:1.8.0.232.b09-1.el6_10 updates 17 M
java-1.8.0-openjdk-javadoc-debug noarch 1:1.8.0.232.b09-1.el6_10 updates 17 M
java-1.8.0-openjdk-src i686 1:1.8.0.232.b09-1.el6_10 updates 45 M
java-1.8.0-openjdk-src-debug i686 1:1.8.0.232.b09-1.el6_10 updates 45 M
Installing for dependencies:
atk i686 1.30.0-1.el6 os 194 k
avahi-libs i686 0.6.25-17.el6 os 55 k
cairo i686 1.8.8-6.el6_6 os 319 k
cups-libs i686 1:1.4.2-81.el6_10 updates 333 k
fontconfig i686 2.8.0-5.el6 os 186 k
freetype i686 2.3.11-17.el6 os 365 k
gdk-pixbuf2 i686 2.24.1-6.el6_7 os 498 k
giflib i686 4.1.6-3.1.el6 os 37 k
gnutls i686 2.12.23-22.el6 os 383 k
gtk2 i686 2.24.23-9.el6 os 3.2 M
hicolor-icon-theme noarch 0.11-1.1.el6 os 40 k
jasper-libs i686 1.900.1-22.el6 os 138 k
jpackage-utils noarch 1.7.5-3.16.el6 os 60 k
libICE i686 1.0.6-1.el6 os 52 k
libSM i686 1.2.1-2.el6 os 36 k
libXcomposite i686 0.4.3-4.el6 os 20 k
libXcursor i686 1.1.14-2.1.el6 os 28 k
libXdamage i686 1.1.3-4.el6 os 18 k
libXext i686 1.3.3-1.el6 os 35 k
libXfixes i686 5.0.3-1.el6 os 17 k
libXfont i686 1.5.1-2.el6 os 153 k
libXft i686 2.3.2-1.el6 os 54 k
libXi i686 1.7.8-1.el6 os 37 k
libXinerama i686 1.1.3-2.1.el6 os 13 k
libXrandr i686 1.5.1-1.el6 os 24 k
libXrender i686 0.9.10-1.el6 os 23 k
libXtst i686 1.2.3-1.el6 os 19 k
libfontenc i686 1.1.2-3.el6 os 29 k
libjpeg-turbo i686 1.2.1-3.el6_5 os 177 k
libpng i686 2:1.2.49-2.el6_7 os 184 k
libthai i686 0.1.12-3.el6 os 183 k
libtiff i686 3.9.4-21.el6_8 os 342 k
lksctp-tools i686 1.0.10-7.el6 os 77 k
pango i686 1.28.1-11.el6 os 351 k
pcsc-lite-libs i686 1.5.2-16.el6 os 28 k
pixman i686 0.32.8-1.el6 os 234 k
ttmkfdir i686 3.0.9-32.1.el6 os 41 k
tzdata-java noarch 2019c-1.el6 updates 188 k
xorg-x11-font-utils i686 1:7.2-11.el6 os 73 k
xorg-x11-fonts-Type1 noarch 7.2-11.el6 os 520 k
Updating for dependencies:
nspr i686 4.21.0-1.el6_10 updates 117 k
nss i686 3.44.0-7.el6_10 updates 889 k
nss-softokn i686 3.44.0-6.el6_10 updates 296 k
nss-softokn-freebl i686 3.44.0-6.el6_10 updates 201 k
nss-sysinit i686 3.44.0-7.el6_10 updates 54 k
nss-tools i686 3.44.0-7.el6_10 updates 483 k
nss-util i686 3.44.0-1.el6_10 updates 72 k
Transaction Summary
=======================================================================================================================================================================
Install 52 Package(s)
Upgrade 7 Package(s)
Total download size: 225 M
Is this ok [y/N]: y
Downloading Packages:
(1/59): atk-1.30.0-1.el6.i686.rpm | 194 kB 00:00
(2/59): avahi-libs-0.6.25-17.el6.i686.rpm | 55 kB 00:00
(3/59): cairo-1.8.8-6.el6_6.i686.rpm | 319 kB 00:00
(4/59): cups-libs-1.4.2-81.el6_10.i686.rpm | 333 kB 00:00
(5/59): fontconfig-2.8.0-5.el6.i686.rpm | 186 kB 00:00
(6/59): freetype-2.3.11-17.el6.i686.rpm | 365 kB 00:00
(7/59): gdk-pixbuf2-2.24.1-6.el6_7.i686.rpm | 498 kB 00:00
(8/59): giflib-4.1.6-3.1.el6.i686.rpm | 37 kB 00:00
(9/59): gnutls-2.12.23-22.el6.i686.rpm | 383 kB 00:00
(10/59): gtk2-2.24.23-9.el6.i686.rpm | 3.2 MB 00:02
(11/59): hicolor-icon-theme-0.11-1.1.el6.noarch.rpm | 40 kB 00:00
(12/59): jasper-libs-1.900.1-22.el6.i686.rpm | 138 kB 00:00
(13/59): java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686.rpm | 219 kB 00:00
(14/59): java-1.8.0-openjdk-debug-1.8.0.232.b09-1.el6_10.i686.rpm | 213 kB 00:00
(15/59): java-1.8.0-openjdk-demo-1.8.0.232.b09-1.el6_10.i686.rpm | 1.9 MB 00:02
(16/59): java-1.8.0-openjdk-demo-debug-1.8.0.232.b09-1.el6_10.i686.rpm | 1.9 MB 00:02
(17/59): java-1.8.0-openjdk-devel-1.8.0.232.b09-1.el6_10.i686.rpm | 10 MB 00:08
(18/59): java-1.8.0-openjdk-devel-debug-1.8.0.232.b09-1.el6_10.i686.rpm | 10 MB 00:00
(19/59): java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686.rpm | 32 MB 00:00
(20/59): java-1.8.0-openjdk-headless-debug-1.8.0.232.b09-1.el6_10.i686.rpm | 32 MB 00:00
(21/59): java-1.8.0-openjdk-javadoc-1.8.0.232.b09-1.el6_10.noarch.rpm | 17 MB 00:00
(22/59): java-1.8.0-openjdk-javadoc-debug-1.8.0.232.b09-1.el6_10.noarch.rpm | 17 MB 00:00
(23/59): java-1.8.0-openjdk-src-1.8.0.232.b09-1.el6_10.i686.rpm | 45 MB 00:00
(24/59): java-1.8.0-openjdk-src-debug-1.8.0.232.b09-1.el6_10.i686.rpm | 45 MB 00:00
(25/59): jpackage-utils-1.7.5-3.16.el6.noarch.rpm | 60 kB 00:00
(26/59): libICE-1.0.6-1.el6.i686.rpm | 52 kB 00:00
(27/59): libSM-1.2.1-2.el6.i686.rpm | 36 kB 00:00
(28/59): libXcomposite-0.4.3-4.el6.i686.rpm | 20 kB 00:00
(29/59): libXcursor-1.1.14-2.1.el6.i686.rpm | 28 kB 00:00
(30/59): libXdamage-1.1.3-4.el6.i686.rpm | 18 kB 00:00
(31/59): libXext-1.3.3-1.el6.i686.rpm | 35 kB 00:00
(32/59): libXfixes-5.0.3-1.el6.i686.rpm | 17 kB 00:00
(33/59): libXfont-1.5.1-2.el6.i686.rpm | 153 kB 00:00
(34/59): libXft-2.3.2-1.el6.i686.rpm | 54 kB 00:00
(35/59): libXi-1.7.8-1.el6.i686.rpm | 37 kB 00:00
(36/59): libXinerama-1.1.3-2.1.el6.i686.rpm | 13 kB 00:00
(37/59): libXrandr-1.5.1-1.el6.i686.rpm | 24 kB 00:00
(38/59): libXrender-0.9.10-1.el6.i686.rpm | 23 kB 00:00
(39/59): libXtst-1.2.3-1.el6.i686.rpm | 19 kB 00:00
(40/59): libfontenc-1.1.2-3.el6.i686.rpm | 29 kB 00:00
(41/59): libjpeg-turbo-1.2.1-3.el6_5.i686.rpm | 177 kB 00:00
(42/59): libpng-1.2.49-2.el6_7.i686.rpm | 184 kB 00:00
(43/59): libthai-0.1.12-3.el6.i686.rpm | 183 kB 00:00
(44/59): libtiff-3.9.4-21.el6_8.i686.rpm | 342 kB 00:00
(45/59): lksctp-tools-1.0.10-7.el6.i686.rpm | 77 kB 00:00
(46/59): nspr-4.21.0-1.el6_10.i686.rpm | 117 kB 00:00
(47/59): nss-3.44.0-7.el6_10.i686.rpm | 889 kB 00:00
(48/59): nss-softokn-3.44.0-6.el6_10.i686.rpm | 296 kB 00:00
(49/59): nss-softokn-freebl-3.44.0-6.el6_10.i686.rpm | 201 kB 00:00
(50/59): nss-sysinit-3.44.0-7.el6_10.i686.rpm | 54 kB 00:00
(51/59): nss-tools-3.44.0-7.el6_10.i686.rpm | 483 kB 00:00
(52/59): nss-util-3.44.0-1.el6_10.i686.rpm | 72 kB 00:00
(53/59): pango-1.28.1-11.el6.i686.rpm | 351 kB 00:00
(54/59): pcsc-lite-libs-1.5.2-16.el6.i686.rpm | 28 kB 00:00
(55/59): pixman-0.32.8-1.el6.i686.rpm | 234 kB 00:00
(56/59): ttmkfdir-3.0.9-32.1.el6.i686.rpm | 41 kB 00:00
(57/59): tzdata-java-2019c-1.el6.noarch.rpm | 188 kB 00:00
(58/59): xorg-x11-font-utils-7.2-11.el6.i686.rpm | 73 kB 00:00
(59/59): xorg-x11-fonts-Type1-7.2-11.el6.noarch.rpm | 520 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 4.9 MB/s | 225 MB 00:46
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : jpackage-utils-1.7.5-3.16.el6.noarch 1/66
Installing : freetype-2.3.11-17.el6.i686 2/66
Installing : libjpeg-turbo-1.2.1-3.el6_5.i686 3/66
Installing : libXrender-0.9.10-1.el6.i686 4/66
Updating : nspr-4.21.0-1.el6_10.i686 5/66
Updating : nss-util-3.44.0-1.el6_10.i686 6/66
Installing : fontconfig-2.8.0-5.el6.i686 7/66
Installing : libXext-1.3.3-1.el6.i686 8/66
Installing : 2:libpng-1.2.49-2.el6_7.i686 9/66
Installing : libXi-1.7.8-1.el6.i686 10/66
Installing : libXfixes-5.0.3-1.el6.i686 11/66
Installing : tzdata-java-2019c-1.el6.noarch 12/66
Installing : libXtst-1.2.3-1.el6.i686 13/66
Updating : nss-softokn-freebl-3.44.0-6.el6_10.i686 14/66
Updating : nss-softokn-3.44.0-6.el6_10.i686 15/66
Updating : nss-3.44.0-7.el6_10.i686 16/66
Updating : nss-sysinit-3.44.0-7.el6_10.i686 17/66
Installing : libtiff-3.9.4-21.el6_8.i686 18/66
Installing : libICE-1.0.6-1.el6.i686 19/66
Installing : pcsc-lite-libs-1.5.2-16.el6.i686 20/66
Installing : lksctp-tools-1.0.10-7.el6.i686 21/66
Installing : libfontenc-1.1.2-3.el6.i686 22/66
Installing : hicolor-icon-theme-0.11-1.1.el6.noarch 23/66
Installing : libXfont-1.5.1-2.el6.i686 24/66
Installing : 1:xorg-x11-font-utils-7.2-11.el6.i686 25/66
Installing : libSM-1.2.1-2.el6.i686 26/66
Installing : giflib-4.1.6-3.1.el6.i686 27/66
Installing : libXcursor-1.1.14-2.1.el6.i686 28/66
Installing : libXdamage-1.1.3-4.el6.i686 29/66
Installing : libXrandr-1.5.1-1.el6.i686 30/66
Installing : libXinerama-1.1.3-2.1.el6.i686 31/66
Installing : libXft-2.3.2-1.el6.i686 32/66
Installing : jasper-libs-1.900.1-22.el6.i686 33/66
Installing : gdk-pixbuf2-2.24.1-6.el6_7.i686 34/66
Installing : ttmkfdir-3.0.9-32.1.el6.i686 35/66
Installing : xorg-x11-fonts-Type1-7.2-11.el6.noarch 36/66
Installing : atk-1.30.0-1.el6.i686 37/66
Installing : gnutls-2.12.23-22.el6.i686 38/66
Installing : libthai-0.1.12-3.el6.i686 39/66
Installing : libXcomposite-0.4.3-4.el6.i686 40/66
Installing : pixman-0.32.8-1.el6.i686 41/66
Installing : cairo-1.8.8-6.el6_6.i686 42/66
Installing : pango-1.28.1-11.el6.i686 43/66
Installing : avahi-libs-0.6.25-17.el6.i686 44/66
Installing : 1:java-1.8.0-openjdk-javadoc-debug-1.8.0.232.b09-1.el6_10.noarch 45/66
Installing : 1:java-1.8.0-openjdk-javadoc-1.8.0.232.b09-1.el6_10.noarch 46/66
Installing : 1:cups-libs-1.4.2-81.el6_10.i686 47/66
Installing : 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686 48/66
Installing : 1:java-1.8.0-openjdk-headless-debug-1.8.0.232.b09-1.el6_10.i686 49/66
Installing : gtk2-2.24.23-9.el6.i686 50/66
Installing : 1:java-1.8.0-openjdk-src-debug-1.8.0.232.b09-1.el6_10.i686 [######################################### ] 51/66
Installing : 1:java-1.8.0-openjdk-src-debug-1.8.0.232.b09-1.el6_10.i686 51/66
Installing : 1:java-1.8.0-openjdk-src-1.8.0.232.b09-1.el6_10.i686 52/66
Installing : 1:java-1.8.0-openjdk-debug-1.8.0.232.b09-1.el6_10.i686 53/66
Installing : 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686 54/66
Installing : 1:java-1.8.0-openjdk-demo-1.8.0.232.b09-1.el6_10.i686 55/66
Installing : 1:java-1.8.0-openjdk-devel-1.8.0.232.b09-1.el6_10.i686 56/66
Installing : 1:java-1.8.0-openjdk-devel-debug-1.8.0.232.b09-1.el6_10.i686 57/66
Installing : 1:java-1.8.0-openjdk-demo-debug-1.8.0.232.b09-1.el6_10.i686 58/66
Updating : nss-tools-3.44.0-7.el6_10.i686 59/66
Cleanup : nss-tools-3.27.1-13.el6.i686 60/66
Cleanup : nss-3.27.1-13.el6.i686 61/66
Cleanup : nss-sysinit-3.27.1-13.el6.i686 62/66
Cleanup : nss-softokn-3.14.3-23.3.el6_8.i686 63/66
Cleanup : nss-util-3.27.1-3.el6.i686 64/66
Cleanup : nspr-4.13.1-1.el6.i686 65/66
Cleanup : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 66/66
Verifying : avahi-libs-0.6.25-17.el6.i686 1/66
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-1.el6_10.i686 2/66
Verifying : giflib-4.1.6-3.1.el6.i686 3/66
Verifying : pango-1.28.1-11.el6.i686 4/66
Verifying : libfontenc-1.1.2-3.el6.i686 5/66
Verifying : pixman-0.32.8-1.el6.i686 6/66
Verifying : 1:java-1.8.0-openjdk-headless-debug-1.8.0.232.b09-1.el6_10.i686 7/66
Verifying : libXcomposite-0.4.3-4.el6.i686 8/66
Verifying : nss-sysinit-3.44.0-7.el6_10.i686 9/66
Verifying : ttmkfdir-3.0.9-32.1.el6.i686 10/66
Verifying : nss-tools-3.44.0-7.el6_10.i686 11/66
Verifying : libXfont-1.5.1-2.el6.i686 12/66
Verifying : lksctp-tools-1.0.10-7.el6.i686 13/66
Verifying : nss-softokn-3.44.0-6.el6_10.i686 14/66
Verifying : nss-util-3.44.0-1.el6_10.i686 15/66
Verifying : libthai-0.1.12-3.el6.i686 16/66
Verifying : 1:java-1.8.0-openjdk-javadoc-debug-1.8.0.232.b09-1.el6_10.noarch 17/66
Verifying : hicolor-icon-theme-0.11-1.1.el6.noarch 18/66
Verifying : jpackage-utils-1.7.5-3.16.el6.noarch 19/66
Verifying : pcsc-lite-libs-1.5.2-16.el6.i686 20/66
Verifying : nss-3.44.0-7.el6_10.i686 21/66
Verifying : libXext-1.3.3-1.el6.i686 22/66
Verifying : gtk2-2.24.23-9.el6.i686 23/66
Verifying : 1:java-1.8.0-openjdk-javadoc-1.8.0.232.b09-1.el6_10.noarch 24/66
Verifying : nspr-4.21.0-1.el6_10.i686 25/66
Verifying : freetype-2.3.11-17.el6.i686 26/66
Verifying : libtiff-3.9.4-21.el6_8.i686 27/66
Verifying : fontconfig-2.8.0-5.el6.i686 28/66
Verifying : 1:xorg-x11-font-utils-7.2-11.el6.i686 29/66
Verifying : libXrender-0.9.10-1.el6.i686 30/66
Verifying : 2:libpng-1.2.49-2.el6_7.i686 31/66
Verifying : libXcursor-1.1.14-2.1.el6.i686 32/66
Verifying : libXrandr-1.5.1-1.el6.i686 33/66
Verifying : libXfixes-5.0.3-1.el6.i686 34/66
Verifying : gnutls-2.12.23-22.el6.i686 35/66
Verifying : 1:java-1.8.0-openjdk-devel-debug-1.8.0.232.b09-1.el6_10.i686 36/66
Verifying : 1:java-1.8.0-openjdk-demo-1.8.0.232.b09-1.el6_10.i686 37/66
Verifying : 1:cups-libs-1.4.2-81.el6_10.i686 38/66
Verifying : cairo-1.8.8-6.el6_6.i686 39/66
Verifying : 1:java-1.8.0-openjdk-debug-1.8.0.232.b09-1.el6_10.i686 40/66
Verifying : libXdamage-1.1.3-4.el6.i686 41/66
Verifying : gdk-pixbuf2-2.24.1-6.el6_7.i686 42/66
Verifying : libjpeg-turbo-1.2.1-3.el6_5.i686 43/66
Verifying : libXinerama-1.1.3-2.1.el6.i686 44/66
Verifying : libXft-2.3.2-1.el6.i686 45/66
Verifying : nss-softokn-freebl-3.44.0-6.el6_10.i686 46/66
Verifying : 1:java-1.8.0-openjdk-demo-debug-1.8.0.232.b09-1.el6_10.i686 47/66
Verifying : libXi-1.7.8-1.el6.i686 48/66
Verifying : tzdata-java-2019c-1.el6.noarch 49/66
Verifying : libICE-1.0.6-1.el6.i686 50/66
Verifying : libSM-1.2.1-2.el6.i686 51/66
Verifying : atk-1.30.0-1.el6.i686 52/66
Verifying : xorg-x11-fonts-Type1-7.2-11.el6.noarch 53/66
Verifying : jasper-libs-1.900.1-22.el6.i686 54/66
Verifying : libXtst-1.2.3-1.el6.i686 55/66
Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.232.b09-1.el6_10.i686 56/66
Verifying : 1:java-1.8.0-openjdk-src-debug-1.8.0.232.b09-1.el6_10.i686 57/66
Verifying : 1:java-1.8.0-openjdk-1.8.0.232.b09-1.el6_10.i686 58/66
Verifying : 1:java-1.8.0-openjdk-src-1.8.0.232.b09-1.el6_10.i686 59/66
Verifying : nss-tools-3.27.1-13.el6.i686 60/66
Verifying : nss-3.27.1-13.el6.i686 61/66
Verifying : nss-util-3.27.1-3.el6.i686 62/66
Verifying : nspr-4.13.1-1.el6.i686 63/66
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 64/66
Verifying : nss-softokn-3.14.3-23.3.el6_8.i686 65/66
Verifying : nss-sysinit-3.27.1-13.el6.i686 66/66
Installed:
java-1.8.0-openjdk.i686 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-debug.i686 1:1.8.0.232.b09-1.el6_10
java-1.8.0-openjdk-demo.i686 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-demo-debug.i686 1:1.8.0.232.b09-1.el6_10
java-1.8.0-openjdk-devel.i686 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-devel-debug.i686 1:1.8.0.232.b09-1.el6_10
java-1.8.0-openjdk-headless.i686 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-headless-debug.i686 1:1.8.0.232.b09-1.el6_10
java-1.8.0-openjdk-javadoc.noarch 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-javadoc-debug.noarch 1:1.8.0.232.b09-1.el6_10
java-1.8.0-openjdk-src.i686 1:1.8.0.232.b09-1.el6_10 java-1.8.0-openjdk-src-debug.i686 1:1.8.0.232.b09-1.el6_10
Dependency Installed:
atk.i686 0:1.30.0-1.el6 avahi-libs.i686 0:0.6.25-17.el6 cairo.i686 0:1.8.8-6.el6_6 cups-libs.i686 1:1.4.2-81.el6_10
fontconfig.i686 0:2.8.0-5.el6 freetype.i686 0:2.3.11-17.el6 gdk-pixbuf2.i686 0:2.24.1-6.el6_7 giflib.i686 0:4.1.6-3.1.el6
gnutls.i686 0:2.12.23-22.el6 gtk2.i686 0:2.24.23-9.el6 hicolor-icon-theme.noarch 0:0.11-1.1.el6 jasper-libs.i686 0:1.900.1-22.el6
jpackage-utils.noarch 0:1.7.5-3.16.el6 libICE.i686 0:1.0.6-1.el6 libSM.i686 0:1.2.1-2.el6 libXcomposite.i686 0:0.4.3-4.el6
libXcursor.i686 0:1.1.14-2.1.el6 libXdamage.i686 0:1.1.3-4.el6 libXext.i686 0:1.3.3-1.el6 libXfixes.i686 0:5.0.3-1.el6
libXfont.i686 0:1.5.1-2.el6 libXft.i686 0:2.3.2-1.el6 libXi.i686 0:1.7.8-1.el6 libXinerama.i686 0:1.1.3-2.1.el6
libXrandr.i686 0:1.5.1-1.el6 libXrender.i686 0:0.9.10-1.el6 libXtst.i686 0:1.2.3-1.el6 libfontenc.i686 0:1.1.2-3.el6
libjpeg-turbo.i686 0:1.2.1-3.el6_5 libpng.i686 2:1.2.49-2.el6_7 libthai.i686 0:0.1.12-3.el6 libtiff.i686 0:3.9.4-21.el6_8
lksctp-tools.i686 0:1.0.10-7.el6 pango.i686 0:1.28.1-11.el6 pcsc-lite-libs.i686 0:1.5.2-16.el6 pixman.i686 0:0.32.8-1.el6
ttmkfdir.i686 0:3.0.9-32.1.el6 tzdata-java.noarch 0:2019c-1.el6 xorg-x11-font-utils.i686 1:7.2-11.el6 xorg-x11-fonts-Type1.noarch 0:7.2-11.el6
Dependency Updated:
nspr.i686 0:4.21.0-1.el6_10 nss.i686 0:3.44.0-7.el6_10 nss-softokn.i686 0:3.44.0-6.el6_10 nss-softokn-freebl.i686 0:3.44.0-6.el6_10
nss-sysinit.i686 0:3.44.0-7.el6_10 nss-tools.i686 0:3.44.0-7.el6_10 nss-util.i686 0:3.44.0-1.el6_10
Complete!
最后确认下:
[root@centos ~]# java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK Server VM (build 25.232-b09, mixed mode)