CentOS gcc 설치

리눅스 gcc 설치

1 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep ^gcc
[root@zetawiki ~]# yum list installed gcc
... (생략)
Error: No matching Packages to list

2 설치[ | ]

[root@zetawiki ~]# yum install gcc
... (생략)
======================================================================================================
 Package                 Arch                 Version                        Repository          Size
======================================================================================================
Installing:
 gcc                     x86_64               4.4.7-16.el6                   base                10 M
Installing for dependencies:
 cloog-ppl               x86_64               0.15.7-1.2.el6                 base                93 k
 cpp                     x86_64               4.4.7-16.el6                   base               3.7 M
 libgomp                 x86_64               4.4.7-16.el6                   base               134 k
 mpfr                    x86_64               2.4.1-6.el6                    base               157 k
 ppl                     x86_64               0.10.2-11.el6                  base               1.3 M
Updating for dependencies:
 libgcc                  x86_64               4.4.7-16.el6                   base               103 k

Transaction Summary
======================================================================================================
Install       6 Package(s)
Upgrade       1 Package(s)

Total download size: 16 M
Is this ok [y/N]: y
... (생략)
Installed:
  gcc.x86_64 0:4.4.7-16.el6                                                                           

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6    cpp.x86_64 0:4.4.7-16.el6     libgomp.x86_64 0:4.4.7-16.el6   
  mpfr.x86_64 0:2.4.1-6.el6            ppl.x86_64 0:0.10.2-11.el6   

Dependency Updated:
  libgcc.x86_64 0:4.4.7-16.el6                                                                        

Complete!

3 확인 2[ | ]

[root@zetawiki ~]# rpm -qa gcc
gcc-4.4.7-16.el6.x86_64
[root@zetawiki ~]# yum list installed gcc
... (생략)
Installed Packages
gcc.x86_64                                     4.4.7-16.el6                                      @base
[root@zetawiki ~]# gcc
gcc: no input files

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}