• yum安装JDK


    [root@VM_142_134_centos ~]# java -version
    -bash: java: command not found
    [root@VM_142_134_centos ~]# yum search jdk  
    Loaded plugins: fastestmirror, langpacks
    Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
    Determining fastest mirrors
    ============================================================================================================================== N/S matched: jdk ==============================================================================================================================
    copy-jdk-configs.noarch : JDKs configuration files copier
    java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment
    java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos
    java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment
    java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation
    java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle
    java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
    java-1.7.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector
    java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos
    java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment
    java-1.7.0-openjdk-headless.x86_64 : The OpenJDK runtime environment without audio and video support
    java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation
    java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle
    java-1.8.0-openjdk.i686 : OpenJDK Runtime Environment
    java-1.8.0-openjdk.x86_64 : OpenJDK Runtime Environment
    java-1.8.0-openjdk-accessibility.i686 : OpenJDK accessibility connector
    java-1.8.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector
    java-1.8.0-openjdk-accessibility-debug.i686 : OpenJDK accessibility connector for packages with debug on
    java-1.8.0-openjdk-accessibility-debug.x86_64 : OpenJDK accessibility connector for packages with debug on
    java-1.8.0-openjdk-debug.i686 : OpenJDK Runtime Environment with full debug on
    java-1.8.0-openjdk-debug.x86_64 : OpenJDK Runtime Environment with full debug on
    java-1.8.0-openjdk-demo.i686 : OpenJDK Demos
    java-1.8.0-openjdk-demo.x86_64 : OpenJDK Demos
    java-1.8.0-openjdk-demo-debug.i686 : OpenJDK Demos with full debug on
    java-1.8.0-openjdk-demo-debug.x86_64 : OpenJDK Demos with full debug on
    java-1.8.0-openjdk-devel.i686 : OpenJDK Development Environment
    java-1.8.0-openjdk-devel.x86_64 : OpenJDK Development Environment
    java-1.8.0-openjdk-devel-debug.i686 : OpenJDK Development Environment with full debug on
    java-1.8.0-openjdk-devel-debug.x86_64 : OpenJDK Development Environment with full debug on
    java-1.8.0-openjdk-headless.i686 : OpenJDK Runtime Environment
    java-1.8.0-openjdk-headless.x86_64 : OpenJDK Runtime Environment
    java-1.8.0-openjdk-headless-debug.i686 : OpenJDK Runtime Environment with full debug on
    java-1.8.0-openjdk-headless-debug.x86_64 : OpenJDK Runtime Environment with full debug on
    java-1.8.0-openjdk-javadoc.noarch : OpenJDK API Documentation
    java-1.8.0-openjdk-javadoc-debug.noarch : OpenJDK API Documentation for packages with debug on
    java-1.8.0-openjdk-javadoc-zip.noarch : OpenJDK API Documentation compressed in single archive
    java-1.8.0-openjdk-javadoc-zip-debug.noarch : OpenJDK API Documentation compressed in single archive for packages with debug on
    java-1.8.0-openjdk-src.i686 : OpenJDK Source Bundle
    java-1.8.0-openjdk-src.x86_64 : OpenJDK Source Bundle
    java-1.8.0-openjdk-src-debug.i686 : OpenJDK Source Bundle for packages with debug on
    java-1.8.0-openjdk-src-debug.x86_64 : OpenJDK Source Bundle for packages with debug on
    ldapjdk-javadoc.noarch : Javadoc for ldapjdk
    icedtea-web.x86_64 : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation
    ldapjdk.noarch : The Mozilla LDAP Java SDK
    openprops.noarch : An improved java.util.Properties from OpenJDK
    
      Name and summary matches only, use "search all" for everything.
    [root@VM_142_134_centos ~]# yum -y install  java-1.8.0-openjdk* 
    Loaded plugins: fastestmirror, langpacks
    Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
    epel                                                                                                                                                                      | 4.7 kB  00:00:00     
    extras                                                                                                                                                                    | 3.4 kB  00:00:00     
    os                                                                                                                                                                        | 3.6 kB  00:00:00     
    updates                                                                                                                                                                   | 3.4 kB  00:00:00     
    (1/5): epel/7/x86_64/group_gz                                                                                                                                             | 266 kB  00:00:00     
    (2/5): epel/7/x86_64/updateinfo                                                                                                                                           | 880 kB  00:00:00     
    (3/5): extras/7/x86_64/primary_db                                                                                                                                         | 166 kB  00:00:00     
    (4/5): updates/7/x86_64/primary_db                                                                                                                                        | 6.0 MB  00:00:00     
    (5/5): epel/7/x86_64/primary_db                                                                                                                                           | 6.2 MB  00:00:00     
    Loading mirror speeds from cached hostfile
    Resolving Dependencies
    --> Running transaction check
    ---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    --> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64
    --> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64
    ---> Package java-1.8.0-openjdk-accessibility.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    --> Processing Dependency: java-atk-wrapper(x86-64) for package: 1:java-1.8.0-openjdk-accessibility-1.8.0.161-0.b14.el7_4.x86_64
    ---> Package java-1.8.0-openjdk-accessibility-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-demo.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-demo-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-devel-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    --> Processing Dependency: tzdata-java >= 2015d for package: 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64
    --> Processing Dependency: nss-softokn(x86-64) >= 3.28.3 for package: 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64
    --> Processing Dependency: copy-jdk-configs >= 2.2 for package: 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64
    --> Processing Dependency: lksctp-tools(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64
    --> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64
    ---> Package java-1.8.0-openjdk-headless-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-javadoc.noarch 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-javadoc-debug.noarch 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-javadoc-zip.noarch 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-javadoc-zip-debug.noarch 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-src.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    ---> Package java-1.8.0-openjdk-src-debug.x86_64 1:1.8.0.161-0.b14.el7_4 will be installed
    --> Running transaction check
    ---> Package copy-jdk-configs.noarch 0:2.2-5.el7_4 will be installed
    ---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
    ---> Package java-atk-wrapper.x86_64 0:0.30.4-5.el7 will be installed
    --> Processing Dependency: xorg-x11-utils for package: java-atk-wrapper-0.30.4-5.el7.x86_64
    --> Processing Dependency: libgconf-2.so.4()(64bit) for package: java-atk-wrapper-0.30.4-5.el7.x86_64
    ---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed
    --> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
    --> Processing Dependency: libxslt for package: javapackages-tools-3.4.1-11.el7.noarch
    ---> Package lksctp-tools.x86_64 0:1.0.17-2.el7 will be installed
    ---> Package nss-softokn.x86_64 0:3.16.2.3-14.4.el7 will be updated
    ---> Package nss-softokn.x86_64 0:3.28.3-8.el7_4 will be an update
    --> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.28.3-8.el7_4 for package: nss-softokn-3.28.3-8.el7_4.x86_64
    ---> Package tzdata-java.noarch 0:2018c-1.el7 will be installed
    ---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
    --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
    --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
    --> Running transaction check
    ---> Package GConf2.x86_64 0:3.2.6-8.el7 will be installed
    ---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
    ---> Package nss-softokn-freebl.i686 0:3.16.2.3-14.4.el7 will be updated
    ---> Package nss-softokn-freebl.x86_64 0:3.16.2.3-14.4.el7 will be updated
    ---> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be an update
    ---> Package nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 will be an update
    ---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
    --> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.el7.noarch
    ---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
    ---> Package xorg-x11-utils.x86_64 0:7.5-22.el7 will be installed
    --> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
    --> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
    --> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
    --> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-22.el7.x86_64
    --> Running transaction check
    ---> Package libXv.x86_64 0:1.0.11-1.el7 will be installed
    ---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
    ---> Package libXxf86misc.x86_64 0:1.0.3-7.1.el7 will be installed
    ---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
    ---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =================================================================================================================================================================================================
     Package                                                           Arch                              Version                                            Repository                          Size
    =================================================================================================================================================================================================
    Installing:
     java-1.8.0-openjdk                                                x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            243 k
     java-1.8.0-openjdk-accessibility                                  x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             50 k
     java-1.8.0-openjdk-accessibility-debug                            x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             50 k
     java-1.8.0-openjdk-debug                                          x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            247 k
     java-1.8.0-openjdk-demo                                           x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            2.0 M
     java-1.8.0-openjdk-demo-debug                                     x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            2.0 M
     java-1.8.0-openjdk-devel                                          x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            9.8 M
     java-1.8.0-openjdk-devel-debug                                    x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                            9.8 M
     java-1.8.0-openjdk-headless                                       x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             32 M
     java-1.8.0-openjdk-headless-debug                                 x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             33 M
     java-1.8.0-openjdk-javadoc                                        noarch                            1:1.8.0.161-0.b14.el7_4                            updates                             15 M
     java-1.8.0-openjdk-javadoc-debug                                  noarch                            1:1.8.0.161-0.b14.el7_4                            updates                             15 M
     java-1.8.0-openjdk-javadoc-zip                                    noarch                            1:1.8.0.161-0.b14.el7_4                            updates                             42 M
     java-1.8.0-openjdk-javadoc-zip-debug                              noarch                            1:1.8.0.161-0.b14.el7_4                            updates                             42 M
     java-1.8.0-openjdk-src                                            x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             45 M
     java-1.8.0-openjdk-src-debug                                      x86_64                            1:1.8.0.161-0.b14.el7_4                            updates                             45 M
    Installing for dependencies:
     GConf2                                                            x86_64                            3.2.6-8.el7                                        os                                 1.0 M
     copy-jdk-configs                                                  noarch                            2.2-5.el7_4                                        updates                             19 k
     giflib                                                            x86_64                            4.1.6-9.el7                                        os                                  40 k
     java-atk-wrapper                                                  x86_64                            0.30.4-5.el7                                       os                                  71 k
     javapackages-tools                                                noarch                            3.4.1-11.el7                                       os                                  73 k
     libXv                                                             x86_64                            1.0.11-1.el7                                       os                                  18 k
     libXxf86dga                                                       x86_64                            1.1.4-2.1.el7                                      os                                  19 k
     libXxf86misc                                                      x86_64                            1.0.3-7.1.el7                                      os                                  19 k
     libdmx                                                            x86_64                            1.1.3-3.el7                                        os                                  16 k
     libxslt                                                           x86_64                            1.1.28-5.el7                                       os                                 242 k
     lksctp-tools                                                      x86_64                            1.0.17-2.el7                                       os                                  88 k
     python-javapackages                                               noarch                            3.4.1-11.el7                                       os                                  31 k
     python-lxml                                                       x86_64                            3.2.1-4.el7                                        os                                 758 k
     ttmkfdir                                                          x86_64                            3.0.9-42.el7                                       os                                  48 k
     tzdata-java                                                       noarch                            2018c-1.el7                                        updates                            184 k
     xorg-x11-fonts-Type1                                              noarch                            7.5-9.el7                                          os                                 521 k
     xorg-x11-utils                                                    x86_64                            7.5-22.el7                                         os                                 114 k
    Updating for dependencies:
     nss-softokn                                                       x86_64                            3.28.3-8.el7_4                                     updates                            310 k
     nss-softokn-freebl                                                i686                              3.28.3-8.el7_4                                     updates                            199 k
     nss-softokn-freebl                                                x86_64                            3.28.3-8.el7_4                                     updates                            214 k
    
    Transaction Summary
    =================================================================================================================================================================================================
    Install  16 Packages (+17 Dependent packages)
    Upgrade              (  3 Dependent packages)
    
    Total download size: 296 M
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/36): java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                               | 243 kB  00:00:00     
    (2/36): java-1.8.0-openjdk-accessibility-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                 |  50 kB  00:00:00     
    (3/36): giflib-4.1.6-9.el7.x86_64.rpm                                                                                                                                     |  40 kB  00:00:00     
    (4/36): java-1.8.0-openjdk-accessibility-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                           |  50 kB  00:00:00     
    (5/36): java-1.8.0-openjdk-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                         | 247 kB  00:00:00     
    (6/36): GConf2-3.2.6-8.el7.x86_64.rpm                                                                                                                                     | 1.0 MB  00:00:00     
    (7/36): java-1.8.0-openjdk-demo-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                          | 2.0 MB  00:00:00     
    (8/36): java-1.8.0-openjdk-demo-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                    | 2.0 MB  00:00:00     
    (9/36): java-1.8.0-openjdk-devel-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                         | 9.8 MB  00:00:00     
    (10/36): java-1.8.0-openjdk-devel-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                  | 9.8 MB  00:00:00     
    (11/36): copy-jdk-configs-2.2-5.el7_4.noarch.rpm                                                                                                                          |  19 kB  00:00:01     
    (12/36): java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                     |  32 MB  00:00:00     
    (13/36): java-1.8.0-openjdk-javadoc-1.8.0.161-0.b14.el7_4.noarch.rpm                                                                                                      |  15 MB  00:00:00     
    (14/36): java-1.8.0-openjdk-javadoc-debug-1.8.0.161-0.b14.el7_4.noarch.rpm                                                                                                |  15 MB  00:00:00     
    (15/36): java-1.8.0-openjdk-headless-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                               |  33 MB  00:00:03     
    (16/36): java-1.8.0-openjdk-javadoc-zip-1.8.0.161-0.b14.el7_4.noarch.rpm                                                                                                  |  42 MB  00:00:02     
    (17/36): java-1.8.0-openjdk-src-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                          |  45 MB  00:00:01     
    (18/36): javapackages-tools-3.4.1-11.el7.noarch.rpm                                                                                                                       |  73 kB  00:00:00     
    (19/36): java-atk-wrapper-0.30.4-5.el7.x86_64.rpm                                                                                                                         |  71 kB  00:00:00     
    (20/36): libXv-1.0.11-1.el7.x86_64.rpm                                                                                                                                    |  18 kB  00:00:00     
    (21/36): libXxf86dga-1.1.4-2.1.el7.x86_64.rpm                                                                                                                             |  19 kB  00:00:00     
    (22/36): libXxf86misc-1.0.3-7.1.el7.x86_64.rpm                                                                                                                            |  19 kB  00:00:00     
    (23/36): libdmx-1.1.3-3.el7.x86_64.rpm                                                                                                                                    |  16 kB  00:00:00     
    (24/36): lksctp-tools-1.0.17-2.el7.x86_64.rpm                                                                                                                             |  88 kB  00:00:00     
    (25/36): libxslt-1.1.28-5.el7.x86_64.rpm                                                                                                                                  | 242 kB  00:00:00     
    (26/36): java-1.8.0-openjdk-javadoc-zip-debug-1.8.0.161-0.b14.el7_4.noarch.rpm                                                                                            |  42 MB  00:00:05     
    (27/36): nss-softokn-3.28.3-8.el7_4.x86_64.rpm                                                                                                                            | 310 kB  00:00:00     
    (28/36): java-1.8.0-openjdk-src-debug-1.8.0.161-0.b14.el7_4.x86_64.rpm                                                                                                    |  45 MB  00:00:02     
    (29/36): nss-softokn-freebl-3.28.3-8.el7_4.i686.rpm                                                                                                                       | 199 kB  00:00:00     
    (30/36): nss-softokn-freebl-3.28.3-8.el7_4.x86_64.rpm                                                                                                                     | 214 kB  00:00:00     
    (31/36): python-javapackages-3.4.1-11.el7.noarch.rpm                                                                                                                      |  31 kB  00:00:00     
    (32/36): python-lxml-3.2.1-4.el7.x86_64.rpm                                                                                                                               | 758 kB  00:00:00     
    (33/36): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm                                                                                                                        | 521 kB  00:00:00     
    (34/36): xorg-x11-utils-7.5-22.el7.x86_64.rpm                                                                                                                             | 114 kB  00:00:00     
    (35/36): tzdata-java-2018c-1.el7.noarch.rpm                                                                                                                               | 184 kB  00:00:00     
    (36/36): ttmkfdir-3.0.9-42.el7.x86_64.rpm                                                                                                                                 |  48 kB  00:00:00     
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                             27 MB/s | 296 MB  00:00:11     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : libxslt-1.1.28-5.el7.x86_64                                                                                                                                                  1/39 
      Installing : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                                             2/39 
      Installing : giflib-4.1.6-9.el7.x86_64                                                                                                                                                    3/39 
      Installing : tzdata-java-2018c-1.el7.noarch                                                                                                                                               4/39 
      Installing : copy-jdk-configs-2.2-5.el7_4.noarch                                                                                                                                          5/39 
      Installing : python-lxml-3.2.1-4.el7.x86_64                                                                                                                                               6/39 
      Installing : python-javapackages-3.4.1-11.el7.noarch                                                                                                                                      7/39 
      Installing : javapackages-tools-3.4.1-11.el7.noarch                                                                                                                                       8/39 
      Updating   : nss-softokn-freebl-3.28.3-8.el7_4.x86_64                                                                                                                                     9/39 
      Updating   : nss-softokn-3.28.3-8.el7_4.x86_64                                                                                                                                           10/39 
      Installing : GConf2-3.2.6-8.el7.x86_64                                                                                                                                                   11/39 
      Installing : libdmx-1.1.3-3.el7.x86_64                                                                                                                                                   12/39 
      Installing : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                                                13/39 
      Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                                       14/39 
      Installing : 1:java-1.8.0-openjdk-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                     15/39 
      Installing : 1:java-1.8.0-openjdk-devel-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                               16/39 
      Installing : 1:java-1.8.0-openjdk-headless-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                            17/39 
      Installing : 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                  18/39 
      Installing : 1:java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                           19/39 
      Installing : libXxf86misc-1.0.3-7.1.el7.x86_64                                                                                                                                           20/39 
      Installing : libXv-1.0.11-1.el7.x86_64                                                                                                                                                   21/39 
      Installing : libXxf86dga-1.1.4-2.1.el7.x86_64                                                                                                                                            22/39 
      Installing : xorg-x11-utils-7.5-22.el7.x86_64                                                                                                                                            23/39 
      Installing : java-atk-wrapper-0.30.4-5.el7.x86_64                                                                                                                                        24/39 
      Installing : 1:java-1.8.0-openjdk-accessibility-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                       25/39 
      Installing : 1:java-1.8.0-openjdk-accessibility-1.8.0.161-0.b14.el7_4.x86_64                                                                                                             26/39 
      Installing : 1:java-1.8.0-openjdk-demo-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                      27/39 
      Installing : 1:java-1.8.0-openjdk-devel-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                     28/39 
      Installing : 1:java-1.8.0-openjdk-javadoc-1.8.0.161-0.b14.el7_4.noarch                                                                                                                   29/39 
      Installing : 1:java-1.8.0-openjdk-javadoc-zip-1.8.0.161-0.b14.el7_4.noarch                                                                                                               30/39 
      Installing : 1:java-1.8.0-openjdk-src-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                       31/39 
      Installing : 1:java-1.8.0-openjdk-demo-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                32/39 
      Installing : 1:java-1.8.0-openjdk-javadoc-debug-1.8.0.161-0.b14.el7_4.noarch                                                                                                             33/39 
      Installing : 1:java-1.8.0-openjdk-javadoc-zip-debug-1.8.0.161-0.b14.el7_4.noarch                                                                                                         34/39 
      Installing : 1:java-1.8.0-openjdk-src-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                 35/39 
      Updating   : nss-softokn-freebl-3.28.3-8.el7_4.i686                                                                                                                                      36/39 
      Cleanup    : nss-softokn-freebl-3.16.2.3-14.4.el7                                                                                                                                        37/39 
      Cleanup    : nss-softokn-3.16.2.3-14.4.el7.x86_64                                                                                                                                        38/39 
      Cleanup    : nss-softokn-freebl-3.16.2.3-14.4.el7                                                                                                                                        39/39 
      Verifying  : java-atk-wrapper-0.30.4-5.el7.x86_64                                                                                                                                         1/39 
      Verifying  : copy-jdk-configs-2.2-5.el7_4.noarch                                                                                                                                          2/39 
      Verifying  : 1:java-1.8.0-openjdk-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                      3/39 
      Verifying  : tzdata-java-2018c-1.el7.noarch                                                                                                                                               4/39 
      Verifying  : 1:java-1.8.0-openjdk-javadoc-1.8.0.161-0.b14.el7_4.noarch                                                                                                                    5/39 
      Verifying  : libXxf86dga-1.1.4-2.1.el7.x86_64                                                                                                                                             6/39 
      Verifying  : libXv-1.0.11-1.el7.x86_64                                                                                                                                                    7/39 
      Verifying  : libXxf86misc-1.0.3-7.1.el7.x86_64                                                                                                                                            8/39 
      Verifying  : 1:java-1.8.0-openjdk-devel-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                9/39 
      Verifying  : nss-softokn-freebl-3.28.3-8.el7_4.i686                                                                                                                                      10/39 
      Verifying  : python-lxml-3.2.1-4.el7.x86_64                                                                                                                                              11/39 
      Verifying  : 1:java-1.8.0-openjdk-demo-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                12/39 
      Verifying  : ttmkfdir-3.0.9-42.el7.x86_64                                                                                                                                                13/39 
      Verifying  : giflib-4.1.6-9.el7.x86_64                                                                                                                                                   14/39 
      Verifying  : python-javapackages-3.4.1-11.el7.noarch                                                                                                                                     15/39 
      Verifying  : 1:java-1.8.0-openjdk-javadoc-debug-1.8.0.161-0.b14.el7_4.noarch                                                                                                             16/39 
      Verifying  : nss-softokn-3.28.3-8.el7_4.x86_64                                                                                                                                           17/39 
      Verifying  : 1:java-1.8.0-openjdk-javadoc-zip-1.8.0.161-0.b14.el7_4.noarch                                                                                                               18/39 
      Verifying  : lksctp-tools-1.0.17-2.el7.x86_64                                                                                                                                            19/39 
      Verifying  : 1:java-1.8.0-openjdk-demo-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                      20/39 
      Verifying  : libdmx-1.1.3-3.el7.x86_64                                                                                                                                                   21/39 
      Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                                                                                                                                       22/39 
      Verifying  : libxslt-1.1.28-5.el7.x86_64                                                                                                                                                 23/39 
      Verifying  : 1:java-1.8.0-openjdk-javadoc-zip-debug-1.8.0.161-0.b14.el7_4.noarch                                                                                                         24/39 
      Verifying  : javapackages-tools-3.4.1-11.el7.noarch                                                                                                                                      25/39 
      Verifying  : 1:java-1.8.0-openjdk-devel-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                     26/39 
      Verifying  : GConf2-3.2.6-8.el7.x86_64                                                                                                                                                   27/39 
      Verifying  : xorg-x11-utils-7.5-22.el7.x86_64                                                                                                                                            28/39 
      Verifying  : 1:java-1.8.0-openjdk-headless-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                            29/39 
      Verifying  : 1:java-1.8.0-openjdk-src-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                       30/39 
      Verifying  : 1:java-1.8.0-openjdk-src-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                 31/39 
      Verifying  : 1:java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                           32/39 
      Verifying  : 1:java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64                                                                                                                  33/39 
      Verifying  : 1:java-1.8.0-openjdk-accessibility-debug-1.8.0.161-0.b14.el7_4.x86_64                                                                                                       34/39 
      Verifying  : 1:java-1.8.0-openjdk-accessibility-1.8.0.161-0.b14.el7_4.x86_64                                                                                                             35/39 
      Verifying  : nss-softokn-freebl-3.28.3-8.el7_4.x86_64                                                                                                                                    36/39 
      Verifying  : nss-softokn-3.16.2.3-14.4.el7.x86_64                                                                                                                                        37/39 
      Verifying  : nss-softokn-freebl-3.16.2.3-14.4.el7.i686                                                                                                                                   38/39 
      Verifying  : nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64                                                                                                                                 39/39 
    
    Installed:
      java-1.8.0-openjdk.x86_64 1:1.8.0.161-0.b14.el7_4                                                java-1.8.0-openjdk-accessibility.x86_64 1:1.8.0.161-0.b14.el7_4                               
      java-1.8.0-openjdk-accessibility-debug.x86_64 1:1.8.0.161-0.b14.el7_4                            java-1.8.0-openjdk-debug.x86_64 1:1.8.0.161-0.b14.el7_4                                       
      java-1.8.0-openjdk-demo.x86_64 1:1.8.0.161-0.b14.el7_4                                           java-1.8.0-openjdk-demo-debug.x86_64 1:1.8.0.161-0.b14.el7_4                                  
      java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-0.b14.el7_4                                          java-1.8.0-openjdk-devel-debug.x86_64 1:1.8.0.161-0.b14.el7_4                                 
      java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-0.b14.el7_4                                       java-1.8.0-openjdk-headless-debug.x86_64 1:1.8.0.161-0.b14.el7_4                              
      java-1.8.0-openjdk-javadoc.noarch 1:1.8.0.161-0.b14.el7_4                                        java-1.8.0-openjdk-javadoc-debug.noarch 1:1.8.0.161-0.b14.el7_4                               
      java-1.8.0-openjdk-javadoc-zip.noarch 1:1.8.0.161-0.b14.el7_4                                    java-1.8.0-openjdk-javadoc-zip-debug.noarch 1:1.8.0.161-0.b14.el7_4                           
      java-1.8.0-openjdk-src.x86_64 1:1.8.0.161-0.b14.el7_4                                            java-1.8.0-openjdk-src-debug.x86_64 1:1.8.0.161-0.b14.el7_4                                   
    
    Dependency Installed:
      GConf2.x86_64 0:3.2.6-8.el7                       copy-jdk-configs.noarch 0:2.2-5.el7_4          giflib.x86_64 0:4.1.6-9.el7                 java-atk-wrapper.x86_64 0:0.30.4-5.el7            
      javapackages-tools.noarch 0:3.4.1-11.el7          libXv.x86_64 0:1.0.11-1.el7                    libXxf86dga.x86_64 0:1.1.4-2.1.el7          libXxf86misc.x86_64 0:1.0.3-7.1.el7               
      libdmx.x86_64 0:1.1.3-3.el7                       libxslt.x86_64 0:1.1.28-5.el7                  lksctp-tools.x86_64 0:1.0.17-2.el7          python-javapackages.noarch 0:3.4.1-11.el7         
      python-lxml.x86_64 0:3.2.1-4.el7                  ttmkfdir.x86_64 0:3.0.9-42.el7                 tzdata-java.noarch 0:2018c-1.el7            xorg-x11-fonts-Type1.noarch 0:7.5-9.el7           
      xorg-x11-utils.x86_64 0:7.5-22.el7               
    
    Dependency Updated:
      nss-softokn.x86_64 0:3.28.3-8.el7_4                         nss-softokn-freebl.i686 0:3.28.3-8.el7_4                         nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4                        
    
    Complete!
    [root@VM_142_134_centos ~]# java -version
    openjdk version "1.8.0_161"
    OpenJDK Runtime Environment (build 1.8.0_161-b14)
    OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
    [root@VM_142_134_centos ~]# 
    

      

  • 相关阅读:
    Python3基础 try-except 几个异常采取同样的处理方法
    Python3基础 try-except else进行配合
    客户端(Winform窗体)上传文件到服务器(web窗体)简单例子
    运用Microsoft.DirectX.DirectSound和Microsoft.DirectX实现简单的录音功能
    Microsoft.DirectX.DirectSound.dll和Microsoft.DirectX.dll引用,导致项目无法调试问题
    asp.net.mvc 中form表单提交控制器的2种方法和控制器接收页面提交数据的4种方法
    系统中怎么删除右键新建菜单中多余的选项
    win10家庭版无法打开系统内置应用(录音机、日历等),如何解决“内置管理员无法打开此应用”的问题
    div中背景图片自动适应屏幕高度无效原因和例子
    asp.net.web如何简单生成和保存二维码图片的例子
  • 原文地址:https://www.cnblogs.com/vayci/p/8916713.html
Copyright © 2020-2023  润新知