설치 명령어
yum install gcc -y
설치 진행
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
* base: ftp.kaist.ac.kr
* extras: ftp.kaist.ac.kr
* updates: ftp.kaist.ac.kr
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 215 kB 00:00:00
(2/4): base/7/x86_64/group_gz | 166 kB 00:00:00
(3/4): updates/7/x86_64/primary_db | 7.4 MB 00:00:01
(4/4): base/7/x86_64/primary_db | 6.0 MB 00:00:01
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libgomp = 4.8.5-36.el7_6.2 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: cpp = 4.8.5-36.el7_6.2 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libgcc >= 4.8.5-36.el7_6.2 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-36.el7_6.2 will be installed
---> Package glibc-devel.x86_64 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: glibc-headers = 2.17-260.el7_6.6 for package: glibc-devel-2.17-260.el7_6.6.x86_64
--> Processing Dependency: glibc = 2.17-260.el7_6.6 for package: glibc-devel-2.17-260.el7_6.6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-260.el7_6.6.x86_64
---> Package libgcc.x86_64 0:4.8.5-28.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-36.el7_6.2 will be an update
---> Package libgomp.x86_64 0:4.8.5-28.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-36.el7_6.2 will be an update
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-222.el7 will be updated
--> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-common-2.17-222.el7.x86_64
---> Package glibc.x86_64 0:2.17-260.el7_6.6 will be an update
---> Package glibc-headers.x86_64 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-260.el7_6.6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-260.el7_6.6.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-222.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-260.el7_6.6 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-957.27.2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
gcc x86_64 4.8.5-36.el7_6.2 updates 16 M
Installing for dependencies:
cpp x86_64 4.8.5-36.el7_6.2 updates 5.9 M
glibc-devel x86_64 2.17-260.el7_6.6 updates 1.1 M
glibc-headers x86_64 2.17-260.el7_6.6 updates 684 k
kernel-headers x86_64 3.10.0-957.27.2.el7 updates 8.0 M
libmpc x86_64 1.0.1-3.el7 base 51 k
mpfr x86_64 3.1.1-4.el7 base 203 k
Updating for dependencies:
glibc x86_64 2.17-260.el7_6.6 updates 3.7 M
glibc-common x86_64 2.17-260.el7_6.6 updates 12 M
libgcc x86_64 4.8.5-36.el7_6.2 updates 102 k
libgomp x86_64 4.8.5-36.el7_6.2 updates 158 k
Transaction Summary
====================================================================================================================================
Install 1 Package (+6 Dependent packages)
Upgrade ( 4 Dependent packages)
Total download size: 48 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
寃쎄퀬: /var/cache/yum/x86_64/7/updates/packages/cpp-4.8.5-36.el7_6.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for cpp-4.8.5-36.el7_6.2.x86_64.rpm is not installed
(1/11): cpp-4.8.5-36.el7_6.2.x86_64.rpm | 5.9 MB 00:00:00
(2/11): glibc-2.17-260.el7_6.6.x86_64.rpm | 3.7 MB 00:00:01
(3/11): glibc-devel-2.17-260.el7_6.6.x86_64.rpm | 1.1 MB 00:00:00
(4/11): glibc-headers-2.17-260.el7_6.6.x86_64.rpm | 684 kB 00:00:00
(5/11): glibc-common-2.17-260.el7_6.6.x86_64.rpm | 12 MB 00:00:01
(6/11): libgcc-4.8.5-36.el7_6.2.x86_64.rpm | 102 kB 00:00:00
(7/11): libgomp-4.8.5-36.el7_6.2.x86_64.rpm | 158 kB 00:00:00
(8/11): kernel-headers-3.10.0-957.27.2.el7.x86_64.rpm | 8.0 MB 00:00:01
Public key for libmpc-1.0.1-3.el7.x86_64.rpm is not installed======================== ] 5.3 MB/s | 33 MB 00:00:02 ETA
(9/11): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00:00
(10/11): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00:00
(11/11): gcc-4.8.5-36.el7_6.2.x86_64.rpm | 16 MB 00:00:06
------------------------------------------------------------------------------------------------------------------------------------
Total 6.8 MB/s | 48 MB 00:00:07
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-5.1804.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libgcc-4.8.5-36.el7_6.2.x86_64 1/15
Updating : glibc-common-2.17-260.el7_6.6.x86_64 2/15
Updating : glibc-2.17-260.el7_6.6.x86_64 3/15
Installing : mpfr-3.1.1-4.el7.x86_64 4/15
Installing : libmpc-1.0.1-3.el7.x86_64 5/15
Installing : cpp-4.8.5-36.el7_6.2.x86_64 6/15
Updating : libgomp-4.8.5-36.el7_6.2.x86_64 7/15
Installing : kernel-headers-3.10.0-957.27.2.el7.x86_64 8/15
Installing : glibc-headers-2.17-260.el7_6.6.x86_64 9/15
Installing : glibc-devel-2.17-260.el7_6.6.x86_64 10/15
Installing : gcc-4.8.5-36.el7_6.2.x86_64 11/15
Cleanup : libgomp-4.8.5-28.el7.x86_64 12/15
Cleanup : glibc-common-2.17-222.el7.x86_64 13/15
Cleanup : glibc-2.17-222.el7.x86_64 14/15
Cleanup : libgcc-4.8.5-28.el7.x86_64 15/15
Verifying : glibc-devel-2.17-260.el7_6.6.x86_64 1/15
Verifying : mpfr-3.1.1-4.el7.x86_64 2/15
Verifying : glibc-2.17-260.el7_6.6.x86_64 3/15
Verifying : libgcc-4.8.5-36.el7_6.2.x86_64 4/15
Verifying : libgomp-4.8.5-36.el7_6.2.x86_64 5/15
Verifying : libmpc-1.0.1-3.el7.x86_64 6/15
Verifying : cpp-4.8.5-36.el7_6.2.x86_64 7/15
Verifying : gcc-4.8.5-36.el7_6.2.x86_64 8/15
Verifying : glibc-headers-2.17-260.el7_6.6.x86_64 9/15
Verifying : glibc-common-2.17-260.el7_6.6.x86_64 10/15
Verifying : kernel-headers-3.10.0-957.27.2.el7.x86_64 11/15
Verifying : glibc-2.17-222.el7.x86_64 12/15
Verifying : libgomp-4.8.5-28.el7.x86_64 13/15
Verifying : glibc-common-2.17-222.el7.x86_64 14/15
Verifying : libgcc-4.8.5-28.el7.x86_64 15/15
Installed:
gcc.x86_64 0:4.8.5-36.el7_6.2
Dependency Installed:
cpp.x86_64 0:4.8.5-36.el7_6.2 glibc-devel.x86_64 0:2.17-260.el7_6.6 glibc-headers.x86_64 0:2.17-260.el7_6.6
kernel-headers.x86_64 0:3.10.0-957.27.2.el7 libmpc.x86_64 0:1.0.1-3.el7 mpfr.x86_64 0:3.1.1-4.el7
Dependency Updated:
glibc.x86_64 0:2.17-260.el7_6.6 glibc-common.x86_64 0:2.17-260.el7_6.6 libgcc.x86_64 0:4.8.5-36.el7_6.2
libgomp.x86_64 0:4.8.5-36.el7_6.2
Complete!
완료 !
'CentOS' 카테고리의 다른 글
CentOS - ClamAV 설치하기 (0) | 2019.12.17 |
---|---|
CentOS - g++ 설치하기 (0) | 2019.08.31 |
CentOS - 티베로(TIBERO) 5 설치하기 (2) (0) | 2019.07.14 |
CentOS - 티베로(tibero) 5 설치하기 (1) (0) | 2019.07.14 |
CentOS - hostname 변경하기 (0) | 2019.07.14 |