1.
1 2 3 4 5 6 7 8 9 10 11 12 | # yum list java-*jdk-devel Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * extras: centos.mirror.cdnetworks.com * updates: ftp.iij.ad.jp Available Packages java-1.6.0-openjdk-devel.x86_64 1:1.6.0.41-1.13.13.1.el7_3 base java-1.7.0-openjdk-devel.x86_64 1:1.7.0.181-2.6.14.8.el7_5 updates java-1.8.0-openjdk-devel.i686 1:1.8.0.171-8.b10.el7_5 updates java-1.8.0-openjdk-devel.x86_64 1:1.8.0.171-8.b10.el7_5 updates | cs |
2.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # yum install java-1.8.0-openjdk-devel.x86_64 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * extras: centos.mirror.cdnetworks.com * updates: ftp.iij.ad.jp base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.171-8.b10.el7_5 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================== Package Arch Version Repository Size ===================================================================================================================== Installing: java-1.8.0-openjdk-devel x86_64 1:1.8.0.171-8.b10.el7_5 updates 9.7 M Transaction Summary ===================================================================================================================== Install 1 Package Total download size: 9.7 M Installed size: 40 M Is this ok [y/d/N]: y Downloading packages: java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64.rpm | 9.7 MB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64 1/1 Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64 1/1 Installed: java-1.8.0-openjdk-devel.x86_64 1:1.8.0.171-8.b10.el7_5 Complete! | cs |
3.
1 2 3 | # javac -version javac 1.8.0_171 | cs |
'Operating System > Linux' 카테고리의 다른 글
Kali Linux 고정 IP 설정하기 (0) | 2018.06.12 |
---|---|
CentOS7 고정 IP 설정 (0) | 2018.06.01 |
ESXi kali linux 설치 (0) | 2018.05.15 |
Ubuntu 한글 깨짐 (0) | 2018.05.03 |
CentOS Git 설치 (0) | 2018.04.23 |