使用yum 安裝依賴關係較多的包

tolywang發表於2011-06-23

Oracle 10.2.0.4  ,    Linux AS 5.4  64bit ,  

系統人員安裝Linux時候缺少了很多的rpm packages,   導致安裝Oracle軟體出現問題, 只有掛載iso 使用yum進行安裝。 

 

[root@ipadtest2 temp]# yum  -y   install   gcc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--&gt Running transaction check
---&gt Package gcc.x86_64 0:4.1.2-46.el5 set to be updated
--&gt Processing Dependency: libgomp >= 4.1.2-46.el5 for package: gcc
--&gt Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--&gt Running transaction check
---&gt Package glibc-devel.x86_64 0:2.5-42 set to be updated
--&gt Processing Dependency: glibc-headers = 2.5-42 for package: glibc-devel
--&gt Processing Dependency: glibc-headers for package: glibc-devel
---&gt Package libgomp.x86_64 0:4.4.0-6.el5 set to be updated
--&gt Running transaction check
---&gt Package glibc-headers.x86_64 0:2.5-42 set to be updated
--&gt Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--&gt Processing Dependency: kernel-headers for package: glibc-headers
--&gt Running transaction check
---&gt Package kernel-headers.x86_64 0:2.6.18-164.el5 set to be updated
--&gt Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                   Arch              Version                    Repository                 Size
========================================================================================================
Installing:
 gcc                       x86_64            4.1.2-46.el5               rhel-debuginfo            5.3 M
Installing for dependencies:
 glibc-devel               x86_64            2.5-42                     rhel-debuginfo            2.4 M
 glibc-headers             x86_64            2.5-42                     rhel-debuginfo            591 k
 kernel-headers            x86_64            2.6.18-164.el5             rhel-debuginfo            1.0 M
 libgomp                   x86_64            4.4.0-6.el5                rhel-debuginfo             68 k

Transaction Summary
========================================================================================================
Install      5 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 9.3 M
Downloading Packages:
--------------------------------------------------------------------------------------------------------
Total                                                                   4.3 GB/s | 9.3 MB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : libgomp                                                                          1/5
  Installing     : kernel-headers                                                                   2/5
  Installing     : glibc-headers                                                                    3/5
  Installing     : glibc-devel                                                                      4/5
  Installing     : gcc                                                                              5/5

Installed:
  gcc.x86_64 0:4.1.2-46.el5                                                                            

Dependency Installed:
  glibc-devel.x86_64 0:2.5-42   glibc-headers.x86_64 0:2.5-42  kernel-headers.x86_64 0:2.6.18-164.el5
  libgomp.x86_64 0:4.4.0-6.el5

Complete!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-700521/,如需轉載,請註明出處,否則將追究法律責任。

相關文章