blueb901 / linux

study of linux
0 stars 0 forks source link

cコンパイラのインストール #16

Closed blueb901 closed 9 years ago

blueb901 commented 9 years ago

iceのインストール #15

blueb901 commented 9 years ago

cコンパイラのインストール

[hoge@moge]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * rpmforge: ftp.kddilabs.jp
 * updates: ftp.tsukuba.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.3-9.el7 will be installed
--> Processing Dependency: cpp = 4.8.3-9.el7 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.3-9.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.3-9.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-78.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-78.el7 for package: glibc-devel-2.17-78.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-78.el7.x86_64
---> 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-headers.x86_64 0:2.17-78.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-78.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-78.el7.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-229.11.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
 Package                                 Arch                            Version                                         Repository                        Size
================================================================================================================================================================
Installing:
 gcc                                     x86_64                          4.8.3-9.el7                                     base                              16 M
Installing for dependencies:
 cpp                                     x86_64                          4.8.3-9.el7                                     base                             5.9 M
 glibc-devel                             x86_64                          2.17-78.el7                                     base                             1.0 M
 glibc-headers                           x86_64                          2.17-78.el7                                     base                             656 k
 kernel-headers                          x86_64                          3.10.0-229.11.1.el7                             updates                          2.3 M
 libmpc                                  x86_64                          1.0.1-3.el7                                     base                              51 k
 mpfr                                    x86_64                          3.1.1-4.el7                                     base                             203 k

Transaction Summary
================================================================================================================================================================
Install  1 Package (+6 Dependent packages)

Total download size: 26 M
Installed size: 59 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): glibc-headers-2.17-78.el7.x86_64.rpm                                                                                              | 656 kB  00:00:13
(2/7): libmpc-1.0.1-3.el7.x86_64.rpm                                                                                                     |  51 kB  00:00:01
(3/7): mpfr-3.1.1-4.el7.x86_64.rpm                                                                                                       | 203 kB  00:00:04
(4/7): glibc-devel-2.17-78.el7.x86_64.rpm                                                                                                | 1.0 MB  00:00:27
(5/7): kernel-headers-3.10.0-229.11.1.el7.x86_64.rpm                                                                                     | 2.3 MB  00:00:39
(6/7): cpp-4.8.3-9.el7.x86_64.rpm                                                                                                        | 5.9 MB  00:01:11
(7/7): gcc-4.8.3-9.el7.x86_64.rpm                                                                                                        |  16 MB  00:01:57
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                           228 kB/s |  26 MB  00:01:57
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mpfr-3.1.1-4.el7.x86_64                                                                                                                      1/7
  Installing : libmpc-1.0.1-3.el7.x86_64                                                                                                                    2/7
  Installing : cpp-4.8.3-9.el7.x86_64                                                                                                                       3/7
  Installing : kernel-headers-3.10.0-229.11.1.el7.x86_64                                                                                                    4/7
  Installing : glibc-headers-2.17-78.el7.x86_64                                                                                                             5/7
  Installing : glibc-devel-2.17-78.el7.x86_64                                                                                                               6/7
  Installing : gcc-4.8.3-9.el7.x86_64                                                                                                                       7/7
  Verifying  : gcc-4.8.3-9.el7.x86_64                                                                                                                       1/7
  Verifying  : glibc-devel-2.17-78.el7.x86_64                                                                                                               2/7
  Verifying  : mpfr-3.1.1-4.el7.x86_64                                                                                                                      3/7
  Verifying  : cpp-4.8.3-9.el7.x86_64                                                                                                                       4/7
  Verifying  : libmpc-1.0.1-3.el7.x86_64                                                                                                                    5/7
  Verifying  : kernel-headers-3.10.0-229.11.1.el7.x86_64                                                                                                    6/7
  Verifying  : glibc-headers-2.17-78.el7.x86_64                                                                                                             7/7

Installed:
  gcc.x86_64 0:4.8.3-9.el7

Dependency Installed:
  cpp.x86_64 0:4.8.3-9.el7        glibc-devel.x86_64 0:2.17-78.el7     glibc-headers.x86_64 0:2.17-78.el7     kernel-headers.x86_64 0:3.10.0-229.11.1.el7
  libmpc.x86_64 0:1.0.1-3.el7     mpfr.x86_64 0:3.1.1-4.el7

Complete!