對於gcc (g++)這樣的軟體,因其依賴包不是一般的多,相信A依賴B,B依賴C,C依賴D、E等等等等的情況會讓很多人崩潰;
注意:
- 1、以下為RHEL 6.1 x64平台樣本(32位的依次類推);
- 2、各軟體包版本號碼可能需要修改為你G盤上有的版本號碼;
-
插入光碟片,進入目錄cd /media/Packages按順序安裝如下包(以下全部安裝)
- 1. libgcc-4.4.5-6.el6.i686.rpm
- 2. nss-softokn-freebl-3.12.9-3.el6.i686.
- 3. glibc-devel-2.12-1.25.el6.i686.rpm
- 4. libstdc++-devel-4.4.5-6.el6.i686.rpm
- 5. gmp-4.3.1-7.el6.i686.rpm
- 6. mpfr-2.4.1-6.el6.x86_64.rpm
- 7. cpp-4.4.5-6.el6.x86_64.rpm
- 8. ppl-0.10.2-11.el6.i686.rpm
- 9. cloog-ppl-0.15.7-1.2.el6.i686.rpm
- 10.libgomp-4.4.5-6.el6.i686.rpm
- 11. kernel-headers-2.6.32-131.0.15.el6.x86_64.rpm
- 12.glibc-2.12-1.25.el6.i686.rpm
- 13. glibc-headers-2.12-1.25.el6.x86_64.rpm
- 14. gcc-4.4.5-6.el6.x86_64.rpm
- 15. gcc-c++-4.4.5-6.el6.x86_64.rpm
- [19:37:@rhel6_0 Packages]>rpm -ivh kernel-headers-2.6.32-131.0.15.el6.x86_64.rpm glibc-headers-2.12-1.25.el6.x86_64.rpm glibc-devel-2.12-1.25.el6.i686.rpm glibc-devel-2.12-1.25.el6.x86_64.rpm cpp-4.4.5-6.el6.x86_64.rpm libgomp-4.4.5-6.el6.x86_64.rpm libgomp-4.4.5-6.el6.i686.rpm libstdc++-devel-4.4.5-6.el6.x86_64.rpm libstdc++-devel-4.4.5-6.el6.i686.rpm gcc-4.4.5-6.el6.x86_64.rpm libgcc-4.4.5-6.el6.x86_64.rpm libgcc-4.4.5-6.el6.i686.rpm gcc-c++-4.4.5-6.el6.x86_64.rpm glibc-2.12-1.25.el6.i686.rpm glibc-2.12-1.25.el6.x86_64.rpm libstdc++-4.4.5-6.el6.x86_64.rpm libstdc++-4.4.5-6.el6.i686.rpm mpfr-2.4.1-6.el6.x86_64.rpm cloog-ppl-0.15.7-1.2.el6.i686.rpm cloog-ppl-0.15.7-1.2.el6.x86_64.rpm gmp-4.3.1-7.el6.i686.rpm gmp-4.3.1-7.el6.x86_64.rpm ppl-0.10.2-11.el6.x86_64.rpm ppl-0.10.2-11.el6.i686.rpm nss-softokn-freebl-3.12.9-3.el6.i686.rpm nss-softokn-freebl-3.12.9-3.el6.x86_64.rpm --force
http://space.itpub.net/21162451/viewspace-719907