当前位置:   article > 正文

CentOS7 离线安装gcc、gcc-c++编译器_gcc rpm包

gcc rpm包

服务器不能联网不能通过yum安装的情况,我们选择将所有相关的rpm包下载放到服务器上安装。

gcc rpm包清单

  1. cpp-4.8.5-36.el7.x86_64.rpm
  2. gcc-4.8.5-36.el7.x86_64.rpm
  3. glibc-devel-2.17-260.el7.x86_64.rpm
  4. glibc-headers-2.17-260.el7.x86_64.rpm
  5. kernel-headers-3.10.0-957.12.2.el7.x86_64.rpm
  6. libmpc-1.0.1-3.el7.x86_64.rpm
  7. mpfr-3.1.1-4.el7.x86_64.rpm

gcc-c++ rpm包清单:

  1. autogen-libopts-5.18-5.el7.x86_64.rpm
  2. gcc-c++-4.8.5-36.el7.x86_64.rpm
  3. glibc-2.17-260.el7.x86_64.rpm
  4. glibc-common-2.17-260.el7.x86_64.rpm
  5. keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm
  6. krb5-devel-1.15.1-34.el7.x86_64.rpm
  7. libcom_err-devel-1.42.9-13.el7.x86_64.rpm
  8. libgcc-4.8.5-36.el7.x86_64.rpm
  9. libgomp-4.8.5-36.el7.x86_64.rpm
  10. libselinux-devel-2.5-14.1.el7.x86_64.rpm
  11. libsepol-devel-2.5-10.el7.x86_64.rpm
  12. libstdc++-4.8.5-36.el7.x86_64.rpm
  13. libstdc++-devel-4.8.5-36.el7.x86_64.rpm
  14. libverto-devel-0.2.5-4.el7.x86_64.rpm
  15. nscd-2.17-260.el7.x86_64.rpm
  16. ntp-4.2.6p5-28.el7.centos.x86_64.rpm
  17. ntpdate-4.2.6p5-28.el7.centos.x86_64.rpm
  18. openssl-1.0.2k-16.el7.x86_64.rpm
  19. openssl-devel-1.0.2k-16.el7.x86_64.rpm
  20. openssl-libs-1.0.2k-16.el7.x86_64.rpm
  21. openssl098e-0.9.8e-29.el7.centos.3.x86_64.rpm
  22. pkgconfig-0.27.1-4.el7.x86_64.rpm
  23. tcl-8.5.13-8.el7.x86_64.rpm
  24. zlib-1.2.7-18.el7.x86_64.rpm
  25. zlib-devel-1.2.7-18.el7.x86_64.rpm

已帮你备好所有rpm文件

阿里云盘 「RPM」https://www.aliyundrive.com/s/s5GZrsAMj9t 点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。

下载完成后,将所有rpm文件放入机器中的任意目录下,进入目录,执行:

rpm -Uvh *.rpm --nodeps --force

验证:

  1. gcc  -v;
  2. gcc-c++ -v 或者 g++ -v;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/469035
推荐阅读
相关标签
  

闽ICP备14008679号