当前位置: > 数据库 > MySQL >

CentOS 6.5使用安装盘自带的RPM包手动安装gcc

时间:2016-05-02 16:13来源:linux.it.net.cn 作者:IT

CentOS 6.5使用安装盘自带的RPM包手动安装gcc 

 

  1. [root@testcs_dn ~]# <strong><span style="font-size: 18px;">cd /media/CentOS_6.5_/Packages/</span></strong>  
  2. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm</span></strong>   
  3. warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  4. error: Failed dependencies:  
  5.     cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64  
  6.     cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64  
  7. [root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm   
  8. Display all 3996 possibilities? (y or n)  
  9. [root@testcs_dn Packages]# rpm -ivh gcc-  
  10. gcc-4.4.7-4.el6.x86_64.rpm           gcc-gfortran-4.4.7-4.el6.x86_64.rpm  gcc-java-4.4.7-4.el6.x86_64.rpm      gcc-objc++-4.4.7-4.el6.x86_64.rpm      
  11. gcc-c++-4.4.7-4.el6.x86_64.rpm       gcc-gnat-4.4.7-4.el6.x86_64.rpm      gcc-objc-4.4.7-4.el6.x86_64.rpm        
  12. [root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm   
  13. warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  14. error: Failed dependencies:  
  15.     cloog-ppl >= 0.15 is needed by gcc-4.4.7-4.el6.x86_64  
  16.     cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64  
  17. [root@testcs_dn Packages]#   
  18. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm</span></strong>   
  19. warning: kernel-headers-2.6.32-431.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  20. Preparing...                ########################################### [100%]  
  21.     package kernel-headers-2.6.32-431.el6.x86_64 is already installed  
  22. [root@testcs_dn Packages]# rpm -ivh glibc-  
  23. glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm  
  24. glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm  
  25. glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm  
  26. glibc-devel-2.12-1.132.el6.i686.rpm        
  27. [root@testcs_dn Packages]# rpm -ivh glibc-  
  28. glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm  
  29. glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm  
  30. glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm  
  31. glibc-devel-2.12-1.132.el6.i686.rpm        
  32. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm</span></strong>   
  33. warning: glibc-headers-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  34. Preparing...                ########################################### [100%]  
  35.     package glibc-headers-2.12-1.132.el6.x86_64 is already installed  
  36. [root@testcs_dn Packages]# rpm -ivh glibc-devel-2.12-1.132.el6.  
  37. glibc-devel-2.12-1.132.el6.i686.rpm    glibc-devel-2.12-1.132.el6.x86_64.rpm  
  38. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm</span></strong>   
  39. warning: glibc-devel-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  40. Preparing...                ########################################### [100%]  
  41.     package glibc-devel-2.12-1.132.el6.x86_64 is already installed  
  42. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh libgomp-4.4.7-4.el6.x86_64.rpm </span></strong>  
  43. warning: libgomp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  44. Preparing...                ########################################### [100%]  
  45.     package libgomp-4.4.7-4.el6.x86_64 is already installed  
  46. [root@testcs_dn Packages]#<strong><span style="font-size: 18px;"> rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm</span></strong>   
  47. warning: ppl-0.10.2-11.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY  
  48. Preparing...                ########################################### [100%]  
  49.    1:ppl                    ########################################### [100%]  
  50. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm </span></strong>  
  51. warning: cloog-ppl-0.15.7-1.2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY  
  52. Preparing...                ########################################### [100%]  
  53.    1:cloog-ppl              ########################################### [100%]  
  54. [root@testcs_dn Packages]# rpm -ivh mpfr-  
  55. mpfr-2.4.1-6.el6.i686.rpm          mpfr-devel-2.4.1-6.el6.i686.rpm  
  56. mpfr-2.4.1-6.el6.x86_64.rpm        mpfr-devel-2.4.1-6.el6.x86_64.rpm  
  57. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm</span></strong>   
  58. warning: mpfr-2.4.1-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY  
  59. Preparing...                ########################################### [100%]  
  60.    1:mpfr                   ########################################### [100%]  
  61. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm</span></strong>   
  62. warning: cpp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  63. Preparing...                ########################################### [100%]  
  64.    1:cpp                    ########################################### [100%]  
  65. [root@testcs_dn Packages]# <strong><span style="font-size: 18px;">rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm </span></strong>  
  66. warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY  
  67. Preparing...                ########################################### [100%]  
  68.    1:gcc                    ########################################### [100%]  



(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容