g++ 설치하기
yum install -y gcc-c++
g++ 설치 진행
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.kaist.ac.kr
* extras: ftp.kaist.ac.kr
* updates: ftp.kaist.ac.kr
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-36.el7_6.2 for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libstdc++ = 4.8.5-36.el7_6.2 for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Running transaction check
---> Package libstdc++.x86_64 0:4.8.5-28.el7 will be updated
---> Package libstdc++.x86_64 0:4.8.5-36.el7_6.2 will be an update
---> Package libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
gcc-c++ x86_64 4.8.5-36.el7_6.2 updates 7.2 M
Installing for dependencies:
libstdc++-devel x86_64 4.8.5-36.el7_6.2 updates 1.5 M
Updating for dependencies:
libstdc++ x86_64 4.8.5-36.el7_6.2 updates 305 k
Transaction Summary
====================================================================================================================================
Install 1 Package (+1 Dependent package)
Upgrade ( 1 Dependent package)
Total download size: 9.0 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/3): libstdc++-devel-4.8.5-36.el7_6.2.x86_64.rpm | 1.5 MB 00:00:00
(2/3): libstdc++-4.8.5-36.el7_6.2.x86_64.rpm | 305 kB 00:00:00
(3/3): gcc-c++-4.8.5-36.el7_6.2.x86_64.rpm | 7.2 MB 00:00:01
------------------------------------------------------------------------------------------------------------------------------------
Total 7.5 MB/s | 9.0 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libstdc++-4.8.5-36.el7_6.2.x86_64 1/4
Installing : libstdc++-devel-4.8.5-36.el7_6.2.x86_64 2/4
Installing : gcc-c++-4.8.5-36.el7_6.2.x86_64 3/4
Cleanup : libstdc++-4.8.5-28.el7.x86_64 4/4
Verifying : gcc-c++-4.8.5-36.el7_6.2.x86_64 1/4
Verifying : libstdc++-devel-4.8.5-36.el7_6.2.x86_64 2/4
Verifying : libstdc++-4.8.5-36.el7_6.2.x86_64 3/4
Verifying : libstdc++-4.8.5-28.el7.x86_64 4/4
Installed:
gcc-c++.x86_64 0:4.8.5-36.el7_6.2
Dependency Installed:
libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2
Dependency Updated:
libstdc++.x86_64 0:4.8.5-36.el7_6.2
Complete!
'CentOS' 카테고리의 다른 글
[linux] cat을 이용한 여러 줄 입력하기 (0) | 2020.07.16 |
---|---|
CentOS - ClamAV 설치하기 (0) | 2019.12.17 |
CentOS - gcc 설치하기 (0) | 2019.08.31 |
CentOS - 티베로(TIBERO) 5 설치하기 (2) (0) | 2019.07.14 |
CentOS - 티베로(tibero) 5 설치하기 (1) (0) | 2019.07.14 |